Ryan Lee
commited on
Commit
·
871b1e8
1
Parent(s):
c89b917
Fix spelling, spacing, and unused variables (#236)
Browse files* Fix spelling, spacing, and unused variables
* Fixed typo in 3 more models
* Added open back
* Remove setBackendAndTarget functions from C++ demos, which are unused functionality.
demo.cpp
CHANGED
@@ -69,7 +69,7 @@ int main(int argc, char** argv)
|
|
69 |
else
|
70 |
cap.open(0);
|
71 |
if (!cap.isOpened())
|
72 |
-
CV_Error(Error::StsError, "Cannot
|
73 |
Mat frame, blob;
|
74 |
static const std::string kWinName = model;
|
75 |
int nbInference = 0;
|
|
|
69 |
else
|
70 |
cap.open(0);
|
71 |
if (!cap.isOpened())
|
72 |
+
CV_Error(Error::StsError, "Cannot open video or file");
|
73 |
Mat frame, blob;
|
74 |
static const std::string kWinName = model;
|
75 |
int nbInference = 0;
|