Cleaned up snake/camel case inconsistencies, added parameter for gauss kernel size

This commit is contained in:
2022-11-10 21:08:35 +01:00
parent d00cd2945b
commit 0d619a22f8
7 changed files with 28 additions and 24 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
#include "input.h"
Input::Input(int video_height, int video_width) : cap(0), video_height(video_height), video_width(video_width)
Input::Input(int videoHeight, int videoWidth) : cap(0), videoHeight(videoHeight), videoWidth(videoWidth)
{
this->cap.set(CAP_PROP_FRAME_HEIGHT, video_height);
this->cap.set(CAP_PROP_FRAME_WIDTH, video_width);
this->cap.set(CAP_PROP_FRAME_HEIGHT, videoHeight);
this->cap.set(CAP_PROP_FRAME_WIDTH, videoWidth);
}
Input::~Input()
+3 -3
View File
@@ -17,9 +17,9 @@ private:
VideoCapture cap;
public:
int video_height;
int video_width;
Input(int video_height, int video_width);
int videoHeight;
int videoWidth;
Input(int videoHeight, int videoWidth);
Input() = delete;
~Input();
Mat readFile(String filePath);