Results 1 to 6 of 6

Thread: Detecing Molly @ Molly Random Event

  1. #1
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default Detecing Molly @ Molly Random Event

    Idea #1
    1. Find Molly's hair color
    2. Check if it finds skin color within a small box under the hair
    3. If 1 & 2 are true then it will check if it finds the shoe colors within a box under the hair/skin
    4. If it finds the hair color + the skin color under the hair color and the shoe colors, correct molly has been found

    The dark brown hair colors are nearly exactly the same as the shoe colors. If it finds the shoes there will be no skin color directly under it.

    Idea #2
    Filtering out the floor and assembling a DDTM by using ATPA bounds for each cluster of colors. Then checking the colors with the colors from the Molly at start.. not sure if this would work but:
    The blue line with orange dots is like a DDTM / color grabbing around the head / body / legs (if wearing jeans)


    Currently I'm leaning towards idea #1 because it seems like it would be pretty accurate. Unfortunately the brown hair color is nearly exactly the same as the shoes so I can't just use the hair color.

    Does anyone know how I could filter the colors like Idea #2 and make boxes around each cluster of colors that is not filtered? Or is there anyone with a better idea? :P

    Script source code available here: Github

  2. #2
    Join Date
    Dec 2006
    Location
    UK!!
    Posts
    910
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What about Hair Style? whilst the brown hair color might be the same as the shoes, could then look at the shape?

    I would agree #1 would be my first port of call.

  3. #3
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    Quote Originally Posted by [S]paz View Post
    What about Hair Style? whilst the brown hair color might be the same as the shoes, could then look at the shape?

    I would agree #1 would be my first port of call.
    The main problem is the perspective at Molly. There is not only a perspective grid where they walk and change height/width, but at the left and right side the machine grabber also turns around so the angle changes aswell.

    I have the code already to detect how the grid is turned and I have made TBoxes for each spot molly can stand on.. at any angle. But I need to connect Molly to the right tile, once that is done I can input the tile in my grabber function and it will move the molly extremely fast

    Here is a video of the latest code, I used the dark part of the green skirt to detect Molly.
    http://www.youtube.com/watch?v=LC7frlVsBlI


    At first I was planning to find different things about their clothes, such as a light green part on a long green skirt and a dark green part at the bottom of a long green skirt. Unfortunately that is not possible for every possible Molly so I have to use different things. Probably going with the hair color + double check by using skin color to avoid finding the shoes.

    Script source code available here: Github

  4. #4
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Do the ones with specific hair always stay with the same hairClothes?
    Last edited by putonajonny; 06-15-2012 at 07:46 PM.

  5. #5
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    Quote Originally Posted by putonajonny View Post
    Do the ones with specific hair always stay with the same hair?
    Sorry, how do you mean that exactly? You mean that the same hair colored Molly's tend to stay near eachother?

    Script source code available here: Github

  6. #6
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    Sorry for having two posts in a row, but I still need idea's to make the solver. I have lended out one account to putonajonny now and I still have another account in the random event. If any SRL Member has the time to work on a script that returns Molly's position I can lend you an account.

    Script source code available here: Github

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •