comic text detector browser

the comic text detector from mayocream/koharu (comictextdetector.onnx), made smaller and faster for ONNX Runtime Web.

  • channels whose weights are all zero or denormal (below 1e-30) are removed. their outputs are unchanged; the largest difference on test pages is 1.3e-6.
  • only the block and line outputs are kept, renamed blocks_8, blocks_16, blocks_32 and lines. the text mask and line borders are removed.
  • the input takes any height and width that are multiples of 32.
  • the weights are in comic_text_detector.data, beside comic_text_detector.onnx. pass it to ONNX Runtime as external data.

the download is 28.8 mb, down from 94.7 mb. on one WebAssembly thread a 1024 px page takes about 1.1 s, down from 2.6 s.

build.py makes these files from the source model. the model keeps the GNU Affero General Public License 3.0 of its source; see LICENSE.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for WhiteHades/comic-text-detector-browser

Base model

mayocream/koharu
Quantized
(1)
this model