Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to Segment the characters ?

How to Segment the characters ?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialc++question
9 Posts 4 Posters 0 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    Sakthi Gs
    wrote on last edited by
    #1

    Hi .. How to segment the each and every characters from the word. Consider for an example: WORD - Segmented Characters Visualc++ ------ > V|i|s|u|a|l|c|+|+| After Segmentation Could any one how to segment eace character :thumbsup:

    C CPalliniC 2 Replies Last reply
    0
    • S Sakthi Gs

      Hi .. How to segment the each and every characters from the word. Consider for an example: WORD - Segmented Characters Visualc++ ------ > V|i|s|u|a|l|c|+|+| After Segmentation Could any one how to segment eace character :thumbsup:

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      What do you mean by "segmenting" ? This word is stored in a char array ? If yes, then simply access each character using the [] operator. I don't really understand your problem, could you elaborate a bit ?

      Cédric Moonen Software developer
      Charting control [v2.0] OpenGL game tutorial in C++

      S 1 Reply Last reply
      0
      • C Cedric Moonen

        What do you mean by "segmenting" ? This word is stored in a char array ? If yes, then simply access each character using the [] operator. I don't really understand your problem, could you elaborate a bit ?

        Cédric Moonen Software developer
        Charting control [v2.0] OpenGL game tutorial in C++

        S Offline
        S Offline
        Sakthi Gs
        wrote on last edited by
        #3

        Actually i have to segment the characters which is in the form of image. EX: An bitmap image with visual c++ text on it.. we have to split the characeter from the bitmap image

        1 Reply Last reply
        0
        • S Sakthi Gs

          Hi .. How to segment the each and every characters from the word. Consider for an example: WORD - Segmented Characters Visualc++ ------ > V|i|s|u|a|l|c|+|+| After Segmentation Could any one how to segment eace character :thumbsup:

          CPalliniC Offline
          CPalliniC Offline
          CPallini
          wrote on last edited by
          #4

          Do you really mean this (I can't believe)?

          #include <stdio.h>
          #include <string.h>
          void main()
          {
          unsigned int i;
          char word[] ="VisualC++";
          for (i = 0; i<strlen(word); i++)
          {
          printf("%c|", word[i]);
          }
          printf("\n");
          }

          :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          In testa che avete, signor di Ceprano?

          S 1 Reply Last reply
          0
          • CPalliniC CPallini

            Do you really mean this (I can't believe)?

            #include <stdio.h>
            #include <string.h>
            void main()
            {
            unsigned int i;
            char word[] ="VisualC++";
            for (i = 0; i<strlen(word); i++)
            {
            printf("%c|", word[i]);
            }
            printf("\n");
            }

            :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            S Offline
            S Offline
            Sakthi Gs
            wrote on last edited by
            #5

            no not this... do u know captcha ? we need to Extract text from the bitmap image.. then we need to find each character

            S CPalliniC 2 Replies Last reply
            0
            • S Sakthi Gs

              no not this... do u know captcha ? we need to Extract text from the bitmap image.. then we need to find each character

              S Offline
              S Offline
              Sakthi Gs
              wrote on last edited by
              #6

              Image processing After Extracting the text .then We need to find identify each character on bitmap image My question is how to segment each character while extracting

              N 1 Reply Last reply
              0
              • S Sakthi Gs

                no not this... do u know captcha ? we need to Extract text from the bitmap image.. then we need to find each character

                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #7

                Are you writing a bot? :)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                In testa che avete, signor di Ceprano?

                S 1 Reply Last reply
                0
                • CPalliniC CPallini

                  Are you writing a bot? :)

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                  [My articles]

                  S Offline
                  S Offline
                  Sakthi Gs
                  wrote on last edited by
                  #8

                  ya ofcourse.. Could u help me out

                  1 Reply Last reply
                  0
                  • S Sakthi Gs

                    Image processing After Extracting the text .then We need to find identify each character on bitmap image My question is how to segment each character while extracting

                    N Offline
                    N Offline
                    norish
                    wrote on last edited by
                    #9

                    You should scan lines of bitmap image. If image is very separated by rectangles its a bit easiyer to cut cells. And if each rectangle size is fixed, its easy programing. But each character donsent hava ordinary rectangle regions its hard to cut from. You must recognize each region of character at first and cut region, normalize and reconize as character next. ... it is very hard to program for me ... :doh:

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups