Does anyone here know a self hostable service (or a demo of someone else hosting it) which can split common .cbr filetype to a .cbz or other filetype to split the panels?

So for example the 1 image I put with this post, would be 8 seperate images (pages).

That would ideally somehow make the comic books readable on a (somewhat old) black and white travel-Kobo…

  • non_burglar@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    11 hours ago

    This isn’t a thing because there are many comics that don’t adhere to “frames”. They overlap with others, use the whole page, etc.

    But beyond this, decompress your CBR/cbz files and use imagemagick to find frames and isolate them.

    • vala@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      7 hours ago

      This is a thing. It just doesn’t work very reliably for the reasons you mentioned.

      It does work kind of ok on some comics like the one OP shared and generally pretty well on manga since that tends to be more consistent with the boxes.

      I don’t know of anything open source or self hosted that does this though.

    • Unboxious@ani.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 hours ago

      Even in the page given as an example here there are two speech bubbles that are pushing their boundaries.

  • tetris11@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    11 hours ago

    isnt this more of an image vision task than a simple utility task?

    I’d be amazed if each of those panels coordinates were annotated somewhere

    • paf@jlai.lu
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      10 hours ago

      i don’t know any on computer but some app offer that on android/ios. i guess they look for some kind of contrast pattern to determine each frame.

      Did try and it does work really well on some but not all garphics novel / comics

        • paf@jlai.lu
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 hours ago

          I am mainly reading on iPad due to screen ratio, I’m self hosting yacreader library and use yacreader app (server is free, app is one time payment on iPad, does have an android/windows client but not developed as iOS version). If I remember correctly, I think there is also Panel on ipad that do the same (would need to check). On android, I need to check and can answer tomorrow (almost 1am here), could be cdisplayex but unsure.