forked from floratest1/SpireCV
update video_io/sv_video_input.cpp.
Signed-off-by: jario-jin <jariof@foxmail.com>
This commit is contained in:
parent
469ba77fe6
commit
831eab5197
|
@ -2,17 +2,16 @@
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
namespace sv
|
namespace sv {
|
||||||
{
|
|
||||||
|
|
||||||
Camera::Camera()
|
Camera::Camera()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
Camera::~Camera()
|
Camera::~Camera()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Camera::openImpl()
|
void Camera::openImpl()
|
||||||
{
|
{
|
||||||
if (this->_type == CameraType::WEBCAM || this->_type == CameraType::V4L2CAM)
|
if (this->_type == CameraType::WEBCAM || this->_type == CameraType::V4L2CAM)
|
||||||
|
|
Loading…
Reference in New Issue