Re:Stable Diffusion based image compression
by behnamoh on Tuesday September 20, 2022 @01:17AM
(#32907933)
This reminds me of a question I have about SD: why can’t it do a simple OCR to know those are characters not random shapes? It’s baffling that neither SD nor DE2 have any understanding of the content they produce.
[ Parent
| on HN ]
Re:Stable Diffusion based image compression
by Xcelerate on Tuesday September 20, 2022 @04:45AM
(#32909225)
You could certainly apply a “duct tape” solution like that, but the issue is that neural networks were developed to replace what were previously entire solutions built on a “duct tape” collection of rule-based approaches (see the early attempts at image recognition). So it would be nice to solve the problem in a more general way.
Re:Stable Diffusion based image compression
by nl on Tuesday September 20, 2022 @02:27AM
(#32908378)
> why can’t it do a simple OCR to know those are characters not random shapes?
It's pretty easy to add this if you wanted to.
But a better method would be to fine tune on a bunch of machine-generated images of words if you want your model to be good at generating characters. You'll need to consider which of the many Unicode character sets you want your model to specialize in though.