Skip to content

Commit b7fd126

Browse files
author
Pashchenkov Maxim
committed
Warnings
1 parent fe7fc7c commit b7fd126

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

demos/gesture_recognition_demo/cpp_gapi/include/stream_source.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class BatchProducer {
3838
}
3939

4040
void fillBatch(const cv::Mat& frame, std::chrono::steady_clock::time_point time) {
41-
if (*drop_batch > 0) {
41+
if (*drop_batch) {
4242
DropBatchInfo();
4343
}
4444
/** Place of new frame in batch **/

demos/gesture_recognition_demo/cpp_gapi/include/visualizer.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class Visualizer {
3838
const size_t current_id);
3939
public:
4040
Visualizer(const bool no_show,
41-
const std::string& main_window_name,
4241
const std::string& storage_window_name,
4342
const std::vector<std::string>& labels,
4443
const std::string& storage_path) :

0 commit comments

Comments
 (0)