1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

add scale factor to DB demo.

This commit is contained in:
zihaomu
2023-04-30 22:03:21 +08:00
parent e3e1f704a4
commit 8be93a6de7
4 changed files with 70 additions and 18 deletions
+1 -1
View File
@@ -1422,7 +1422,7 @@ CV__DNN_INLINE_NS_BEGIN
/** @brief Set scalefactor value for frame.
* @param[in] scale Multiplier for frame values.
*/
CV_WRAP Model& setInputScale(double scale);
CV_WRAP Model& setInputScale(const Scalar& scale);
/** @brief Set flag crop for frame.
* @param[in] crop Flag which indicates whether image will be cropped after resize or not.