ONNX
Ryan Lee commited on
Commit
8f08345
·
1 Parent(s): 1a72946

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.

Files changed (1) hide show
  1. demo.cpp +1 -1
demo.cpp CHANGED
@@ -124,7 +124,7 @@ int main(int argc, char** argv)
124
  else
125
  cap.open(0);
126
  if (!cap.isOpened())
127
- CV_Error(Error::StsError, "Cannot opend video or file");
128
  Mat originalImage;
129
  static const std::string kWinName = modelName;
130
  while (waitKey(1) < 0)
 
124
  else
125
  cap.open(0);
126
  if (!cap.isOpened())
127
+ CV_Error(Error::StsError, "Cannot open video or file");
128
  Mat originalImage;
129
  static const std::string kWinName = modelName;
130
  while (waitKey(1) < 0)