Cleaned up snake/camel case inconsistencies, added parameter for gauss kernel size
This commit is contained in:
+3
-3
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user