提交 0aa8221d 编写于 作者: M MissPenguin

Permute_batch -> PermuteBatch

上级 8d47ab6e
...@@ -89,7 +89,7 @@ private: ...@@ -89,7 +89,7 @@ private:
// pre-process // pre-process
CrnnResizeImg resize_op_; CrnnResizeImg resize_op_;
Normalize normalize_op_; Normalize normalize_op_;
Permute_batch permute_op_; PermuteBatch permute_op_;
// post-process // post-process
PostProcessor post_processor_; PostProcessor post_processor_;
......
...@@ -44,7 +44,7 @@ public: ...@@ -44,7 +44,7 @@ public:
virtual void Run(const cv::Mat *im, float *data); virtual void Run(const cv::Mat *im, float *data);
}; };
class Permute_batch { class PermuteBatch {
public: public:
virtual void Run(const std::vector<cv::Mat> imgs, float *data); virtual void Run(const std::vector<cv::Mat> imgs, float *data);
}; };
......
...@@ -40,7 +40,7 @@ void Permute::Run(const cv::Mat *im, float *data) { ...@@ -40,7 +40,7 @@ void Permute::Run(const cv::Mat *im, float *data) {
} }
} }
void Permute_batch::Run(const std::vector<cv::Mat> imgs, float *data) { void PermuteBatch::Run(const std::vector<cv::Mat> imgs, float *data) {
for (int j = 0; j < imgs.size(); j ++){ for (int j = 0; j < imgs.size(); j ++){
int rh = imgs[j].rows; int rh = imgs[j].rows;
int rw = imgs[j].cols; int rw = imgs[j].cols;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册