(no title)
evgpbfhnr | 3 months ago
(also expected tesseract to do a bit better than this:
$ wl-paste -t image/png | tesseract -l eng - -
Estimating resolution as 199
const std = @import("std");
const expect = std.testing.expect;
const Point = struct {x: i32, y: i32};
test "anonymous struct literal" {
const pt: Point = .{
x = 13,
-y = 67,
33
try expect (pt.x
try expect(pt.y
13);
67);
)
porridgeraisin|3 months ago
evgpbfhnr|3 months ago
Unfortunately I get the same kind of garbage around closing curly braces / closing parenthesis / dots with this magick filter... It seems to do slightly better with an extra `-resize 400%`, but still very far from as good as what you're getting (to be fair the monochrome filter is not pretty (bleeding) when inspecting the result).
I wonder what's different? ( ImageMagick-7.1.1.47-1.fc42.x86_64 and tesseract-5.5.0-5.fc42.x86_64 here, no config, langpack(s) also from the distro)
NewsaHackO|3 months ago