Permute_batch -> PermuteBatch

This commit is contained in:
MissPenguin
2021-11-03 09:24:52 +00:00
parent 8d47ab6eab
commit 0aa8221d9c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ private:
// pre-process
CrnnResizeImg resize_op_;
Normalize normalize_op_;
Permute_batch permute_op_;
PermuteBatch permute_op_;
// post-process
PostProcessor post_processor_;
+1 -1
View File
@@ -44,7 +44,7 @@ public:
virtual void Run(const cv::Mat *im, float *data);
};
class Permute_batch {
class PermuteBatch {
public:
virtual void Run(const std::vector<cv::Mat> imgs, float *data);
};
+1 -1
View File
@@ -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 ++){
int rh = imgs[j].rows;
int rw = imgs[j].cols;