mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-12-27 23:18:23 +00:00
Permute_batch -> PermuteBatch
This commit is contained in:
parent
8d47ab6eab
commit
0aa8221d9c
@ -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_;
|
||||
|
||||
@ -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);
|
||||
};
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user