Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Convert image to ASCII on raspberry pi

    Scheduled Pinned Locked Moved Discussion
    3 Posts 2 Posters 242 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      tam
      last edited by

      Hi everyone,

      I am senthamilselvan doing my master's in telecommunication from UNISA. In my project I'm trying to convert image into ASCII file but I'm not able to convert it.

      I would appreciate your guidance, if any you have done this before.

      Thanks in advance.
      regards
      senthamil

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @tam
        last edited by

        @tam what kind of ASCII representation do you need? hex? base64? Does it have to be a single stream of must if have a text strcutire with line break? Simply sayingb ASCII is not enough.
        Since you mention RasPi with linux, you can use the command base64 to encode or decode any file to base64. Or you write a little Python script as exercise that converts a file to the requested output format using the methods provided by Python. Being in the education state of getting a master degree you should have the insight and skills to master this task yourself, with the advantage of getting better knowledge.

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          tam @robert-hh
          last edited by

          @robert-hh thank you for your response. Actually, i intend to have text based ASCII from image. I also want to do this conversion in the pycom lopy 4 with very low resolution image file(Your opinion on whether lopy 4 can support). Meanwhile, I'm trying that in Raspi and I will seek your help.

          Thank you in advance.
          regards
          senthamil

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom