Page 1 of 8 123 ... LastLast
Results 1 to 10 of 73
Like Tree6Likes

Thread: Ugh.

  1. #1
    Senior Member
    TheRigger is offline

    Posts
    641

    Ugh.

    I've started trying to make a tokening patching bot, so I was starting with the image detection. However, I've been finding it a pain to save all the .png s and stuff. Are there some specific pixels that I can look at instead or something? Thanks!

    Edit: Also, I figure it would be slower to look for patterns than to look for single pixels.
    Last edited by TheRigger; 06-15-2013 at 07:58 PM.

  2. #2
    Banned
    tjwells28 is offline

    Posts
    177
    Im pretty sure you should be using pixel detection rather than image detection. Just in general to increase the speed.

  3. #3
    Senior Member
    Pain is offline

    Posts
    1,564
    Quote Originally Posted by tjwells28 View Post
    Im pretty sure you should be using pixel detection rather than image detection. Just in general to increase the speed.
    try finding a pixel that is unique for every tile.
    Tips on trading on Bot-Supply: Click Me

  4. #4
    Senior Member
    TheRigger is offline

    Posts
    641
    Also... Flashbang helpz please?


    Edit: Best Board Ever:

    bestboardever.png
    Last edited by TheRigger; 06-15-2013 at 08:11 PM.

  5. #5
    Bot Coder
    flashbang is offline

    Posts
    584
    Quote Originally Posted by TheRigger View Post
    Also... Flashbang helpz please?


    Edit: Best Board Ever:

    Click image for larger version. 

Name:	BestBoardEver.png 
Views:	6 
Size:	10.1 KB 
ID:	977
    On patch detection is quite a bitch due to all the sparkling, windws and whatnot. However, never use whole image to detect something, as someone previously said, look out for pixels that are unique to each piece and try to find a way of handling all the special effects.

    //siggy by Poseidon

  6. #6
    Senior Member
    TheRigger is offline

    Posts
    641
    For Tie Her Up, did you use any specific pixel, or did you just count the ties in whichever direction and add those to construct a piece?

    Edit: Sample Image for detection called leftGrommet2:

    leftgrommet2.png

    leftGrommet1 here:

    leftgrommet1.png

    By the way, what was Tie Her Up coded in?
    Last edited by TheRigger; 06-15-2013 at 11:05 PM.

  7. #7
    Senior Member
    erik is offline

    Posts
    343
    If you want, I could help you find a unique pixel.
    I have no life. :U
    Scooter and Logo like this.

  8. #8
    Senior Member
    TheRigger is offline

    Posts
    641
    That would be great, Erik (I could try to put you in a credits tab, if I can figure out how to add one)(or I could name it Zephyr)

    Even two pixels or four would work... (preferably near the center, away from special effects)
    Following format would be nice:
    Location of pixel 1 and 2:
    (x,y) and (x2,y2)
    Following that:
    Piecename (Pixel1RGB), (Pixel2RGB)
    Ex.:
    (for one pixel at (28,14))


    LeftTPiece: (255,243,142)

    for this piece:
    lefttpiece.png

    Edit: Added you and Flashbang in a Credits tab <3
    Last edited by TheRigger; 06-16-2013 at 06:57 PM.
    erik likes this.

  9. #9
    Senior Member
    erik is offline

    Posts
    343
    Quote Originally Posted by TheRigger View Post
    That would be great, Erik (I could try to put you in a credits tab, if I can figure out how to add one)(or I could name it Zephyr)

    Even two pixels or four would work... (preferably near the center, away from special effects)
    Following format would be nice:
    Location of pixel 1 and 2:
    (x,y) and (x2,y2)
    Following that:
    Piecename (Pixel1RGB), (Pixel2RGB)
    Ex.:
    (for one pixel at (28,14))


    LeftTPiece: (255,243,142)

    for this piece:
    Click image for larger version. 

Name:	leftTPiece.png 
Views:	123 
Size:	4.9 KB 
ID:	983

    Edit: Added you and Flashbang in a Credits tab <3
    You really should get Skype.
    You could send me the images you already have over that and I could make them smaller

  10. #10
    Bot Coder
    flashbang is offline

    Posts
    584
    One pixel should be enough, also the effects are overlaying every piece in full, what makes it a bit tricky. You always can easily write a single algorithm doing the work for you!

    //siggy by Poseidon

Page 1 of 8 123 ... LastLast

Posting Permissions

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