mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-03 00:49:01 +08:00
Fix spec string of convolution layer (#3499)
This commit is contained in:
parent
88d4028a5a
commit
7fe0624838
@ -37,7 +37,7 @@ public:
|
||||
~Convolve() override = default;
|
||||
|
||||
std::string spec() const override {
|
||||
return "C" + std::to_string(half_x_ * 2 + 1) + "," + std::to_string(half_y_ * 2 + 1);
|
||||
return "C" + std::to_string(half_y_ * 2 + 1) + "," + std::to_string(half_x_ * 2 + 1);
|
||||
}
|
||||
|
||||
// Writes to the given file. Returns false in case of error.
|
||||
|
Loading…
Reference in New Issue
Block a user