-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with de-warp - strange result #42
Comments
@stefanCCS that ftp server seems to be down. And it would be way easier if you just pasted the images here. Github then takes care of hosting them and you can immediately see them when browsing the issue. |
I just have tried the FTP-access - and it has worked fine: |
Working now, though only via wget, not FileZilla for some reason. Unless there is a privacy problem (looks like dutch newspaper?), I'd also appreciate uploads to GitHub. |
Any update from somebody possible? |
Hard to say but I think #89 should fix or at least improve the issue. @stefanCCS feel free to reopen if you still encounter strange results with the newest release. |
Hi @kba , I cannot re-open this issue: Will you do it? Should I create a new one? |
@stefanCCS as I explained here, you have to set a different |
btw: I get this warning here - relevant ?
|
Tried out with
All done on full page level. |
I have tried out on region level (
|
no, not relevant. (string vs int mapping of interpolation types does work.) |
Yes, it's memory-intensive for sure. That's by design, unfortunately. And it is a huge page. Out of curiosity: have you tried on GPU as well? |
thanks for the report – can you please try again with newest #91? |
No GPU available - work on getting one ... For us this is not a huge page, it is a normal one - we sometimes get A1 newspapers with 600dpi - this is huge ;-) |
I see. I would say this simply is not possible at the moment with our architecture – unless you invest insane amounts of RAM. |
Maybe it works ok (in the meaning of RAM) on region level - I will try out ... |
Have tried out on Region-Level.
It is ok for me to close this issue now (shall I do this?) |
Yes, that's exactly what I would assume. Unfortunately, the developers never documented what they used for training. I guess we'll just have to write/wrap parameteric dewarpers... |
This brings me back to the idea, that ocrd-kraken-segment should learn "Regions-level". And with this lines, the dewarping should work ok. |
You mean the line-level dewarping? Yes, I guess it would be better, but for extreme cases like this, the Ocropy dewarper currently is not working well – it only follows a certain amount of slope. (You'll probably have to set But to get good textlines, even in the presence of high line warp, for print you can also use ocrd-cis-ocropy-segment on region level. |
Hi Martin,
we met shortly in Bonn.
You have explained the de-warping which was very interesting for me.
I have tried out a bit - and after some environment issues, I could run it.
Unfortunately, the results (visible as image in OCR-D-IMG-DEWARP) looks very strange.
Maybe I have used wrong parameters.
I have used the model which is decribed in anybaseocr/models/readme.md:
https://cloud.dfki.de/owncloud/index.php/s/3zKza5sRfQB3ygy
I have used the following parameter sets:
{
"gpu_id":0,
"pix2pixHD":"/home/stefan/ocrd_all/pix2pixHD",
"model_name":"/home/stefan/ocrd_all/pix2pixHD/models/"
}
You can download the image examples here:
ftp://ftp.ccs-gmbh.net (directory example1)
User: OCRDExamples
Password: OcRd%123!
The text was updated successfully, but these errors were encountered: