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. Expression analysis

Expression analysis

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
6 Posts 2 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.
  • G Offline
    G Offline
    Goh Hui Beng
    wrote on last edited by
    #1

    Actually I am doing a project on face detection Now i have got the output coordinates of facial features but there are too many of them and i need only a few of them to do analysis so as to achieve face expression detection. So will the coordinates selected, like x,y (12,23)for neutral expression I want to compare will another x,y (45,76). If if it satisfy the happy criteria, then output will be happy So how should I link two programmes together? The first programme output a list of coordinates while the want I am doing will get some valuse and output the expression i do hope someone will help me

    N G 2 Replies Last reply
    0
    • G Goh Hui Beng

      Actually I am doing a project on face detection Now i have got the output coordinates of facial features but there are too many of them and i need only a few of them to do analysis so as to achieve face expression detection. So will the coordinates selected, like x,y (12,23)for neutral expression I want to compare will another x,y (45,76). If if it satisfy the happy criteria, then output will be happy So how should I link two programmes together? The first programme output a list of coordinates while the want I am doing will get some valuse and output the expression i do hope someone will help me

      N Offline
      N Offline
      n 0
      wrote on last edited by
      #2

      i read your first message, but i don't understand what you mean by linking 2 progs together? Я люблю русский язикь!

      1 Reply Last reply
      0
      • G Goh Hui Beng

        Actually I am doing a project on face detection Now i have got the output coordinates of facial features but there are too many of them and i need only a few of them to do analysis so as to achieve face expression detection. So will the coordinates selected, like x,y (12,23)for neutral expression I want to compare will another x,y (45,76). If if it satisfy the happy criteria, then output will be happy So how should I link two programmes together? The first programme output a list of coordinates while the want I am doing will get some valuse and output the expression i do hope someone will help me

        G Offline
        G Offline
        Goh Hui Beng
        wrote on last edited by
        #3

        I want to make use of the output of the first programme and then use it to analysis. I am now writing the second programme. The output of the first programme, i will have to store it in some datasheet and then use some of the values for the second programme. Can the programme auto create this datasheet that stores the values in specific places aiting for call out? U understand what i saying? Thx alot

        N 1 Reply Last reply
        0
        • G Goh Hui Beng

          I want to make use of the output of the first programme and then use it to analysis. I am now writing the second programme. The output of the first programme, i will have to store it in some datasheet and then use some of the values for the second programme. Can the programme auto create this datasheet that stores the values in specific places aiting for call out? U understand what i saying? Thx alot

          N Offline
          N Offline
          n 0
          wrote on last edited by
          #4

          i hope i got that right: you want to save some data of program 1 and load it later on into program 2? if so you could use GetPrivateProfileString() & WritePrivateProfileString() to load & save data in .ini files hope this helps Я люблю русский язикь!

          G 1 Reply Last reply
          0
          • N n 0

            i hope i got that right: you want to save some data of program 1 and load it later on into program 2? if so you could use GetPrivateProfileString() & WritePrivateProfileString() to load & save data in .ini files hope this helps Я люблю русский язикь!

            G Offline
            G Offline
            Goh Hui Beng
            wrote on last edited by
            #5

            So with this, i use GetPrivateProfileString() to get the values i want then WritePrivateProfileString() to load it to the second programme. When i use the function get, where does the programme get the values from and will i be able to select the values i wan? thx

            N 1 Reply Last reply
            0
            • G Goh Hui Beng

              So with this, i use GetPrivateProfileString() to get the values i want then WritePrivateProfileString() to load it to the second programme. When i use the function get, where does the programme get the values from and will i be able to select the values i wan? thx

              N Offline
              N Offline
              n 0
              wrote on last edited by
              #6

              char lpBuffer[256]; GetPrivateProfileString( "MySection", // LPCTSTR lpAppName "MyKey1", // LPCTSTR lpKeyName "0", // LPCTSTR lpDefault - in case file does not exist this is default lpBuffer, // LPCTSTR lpReturnedString 256, // DWORD nSize "File.ini" // LPCTSTR lpFileName ); WritePrivateProfileString( "MySection", // LPCTSTR lpAppName "MyKey1", // LPCTSTR lpKeyName "0", // LPCTSTR lpString - whatever you want to save "File.ini" // LPCTSTR lpFileName ); you don't have to create a .ini file; it is created for you in the app's folder. make sure both programs refer to the same .ini file. Я люблю русский язикь!

              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