Ryan Lee commited on
Commit
71b890b
·
1 Parent(s): a683633

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 +0 -7
demo.cpp CHANGED
@@ -31,13 +31,6 @@ public:
31
  model = cv::FaceDetectorYN::create(model_path_, "", input_size_, conf_threshold_, nms_threshold_, top_k_, backend_id_, target_id_);
32
  }
33
 
34
- void setBackendAndTarget(int backend_id, int target_id)
35
- {
36
- backend_id_ = backend_id;
37
- target_id_ = target_id;
38
- model = cv::FaceDetectorYN::create(model_path_, "", input_size_, conf_threshold_, nms_threshold_, top_k_, backend_id_, target_id_);
39
- }
40
-
41
  /* Overwrite the input size when creating the model. Size format: [Width, Height].
42
  */
43
  void setInputSize(const cv::Size& input_size)
 
31
  model = cv::FaceDetectorYN::create(model_path_, "", input_size_, conf_threshold_, nms_threshold_, top_k_, backend_id_, target_id_);
32
  }
33
 
 
 
 
 
 
 
 
34
  /* Overwrite the input size when creating the model. Size format: [Width, Height].
35
  */
36
  void setInputSize(const cv::Size& input_size)