We use cookies to ensure the best experience for you on our website. By using this website you accept our use of cookies. Ok Read more

Los Santos Roleplay Cops and Robbers
  • Home
  • Forum
  • Information
    • Beginners Tutorial
    • Server Rules
    • Privacy Policy
    • Server Map
  • Statistics
    • Top 25
    • Most Active
    • Server Stats
    • Top Score
    • Groups
    • Turf Stats
  • UCP
    • Dashboard
    • Profile
    • Messaging
    • Houses
    • Vehicles
    • Donation Items
    • Transfers
    • Tag Area
    • Support
    • Logs
  • Shop
    • Shop page
    • Donation items
    • Wearables
    • Memberships
    • Vehicle Addons
    • Vehicles
    • Houses
    • Apartments
    • Groups
    • Get Points
  • Donate
  • Game (UCP) Sign in
Lsrcr Forum • Ribbon screenshot sorting

Lsrcr Forum

Los Santos Roleplay Cops and Robbers
https://ls-rcr.com/forum/

Ribbon screenshot sorting

https://ls-rcr.com/forum/viewtopic.php?t=101908

Page 1 of 2

Ribbon screenshot sorting

Posted: July 19, 2019, 12:59 am
by Osolnik
Ribbon screenshot sorting program


I've been working on a program which sorts screenshots of your kills that you gather as a proof to collect a ribbon.
  • Why did I decide to do this?
    Well, we all want to promote quickly, and the ribbon system enables us to do so. Collecting screenshots as a proof for a ribbon is a bit time-consuming, especially sorting the screenshots into separate folders one by one. I was also renaming and counting every single one of them. I wasn't sorting screenshots for a couple of months, and they piled up. I have around 500 of them to sort, so this is why I decided to automate the process of sorting.
  • What does the program do?
    Well, it takes all the screenshots in the chosen directory and analyzes every one of them. If the program is able to recognize your name and the weapon you used to kill someone, then it stores the copy of the screenshot in a folder named after the weapon (e.g. M4). If it fails to do so, it stores the copy in the folder named "unsorted". Backup of original screenshots is always made, just in case.
  • Future intentions
    My plan is to share the program with everyone but currently it's far from working decently for any random username and resolution. It needs alot of work, optimisation and testing before I can share it. In average it takes around 0.4 - 0.6 second to process a single screenshot.
  • Video presentation
    SAMP - sorting screenshots (click me!)
  • Additional information
    I had some trouble with imgur images since, it compresses them and quality is a bit worse than original picture.
    Spoiler: show
    You can clearly see the difference in quality when my software tries to read the image. The upper one is downloaded from imgur and the bottom one is the original.
    Image
    So I would really appreciate if some of you upload a couple of screenshots to WeTransfer and send them to my e-mail: [email protected].
  • Testing
    Spoiler: show
    • #1: 19. 7. 2019
    • Name: [Lsrcr]Osolnik
    • Resolution: 1920x1080
    • Quantity: 511 screenshots
    • Accuracy: 495 screenshots (96.9%)
    • Time: 219.3s
    • Speed: 2.33 screenshots/s
    • #2: 7. 8. 2019
    • Name: [Lsrcr]Osolnik
    • Resolution: 1920x1080
    • Quantity: 365 screenshots
    • Accuracy: 365 screenshots (100%)
    • Time: 164s
    • Speed: 2.23 screenshots/s

Re: Ribbon screenshot sorting

Posted: July 19, 2019, 5:42 am
by ackman
OMG amazing! Literally loved the video!

Re: Ribbon screenshot sorting

Posted: July 19, 2019, 6:27 am
by AK33L
ackman wrote:
OMG amazing! Literally loved the video!

Re: Ribbon screenshot sorting

Posted: July 19, 2019, 7:16 am
by Faraon78910
This is amazing, but many bugs may occur. Like, what if we have kills of ss that arent in army skin? Will program detect them? What about ss where we have 2 different weapon kills?

Re: Ribbon screenshot sorting

Posted: July 19, 2019, 7:24 am
by Osolnik
Faraon78910 wrote:
This is amazing, but many bugs may occur. Like, what if we have kills of ss that arent in army skin? Will program detect them? What about ss where we have 2 different weapon kills?
It currently only detects your name, if you are in army skin, because it was made for ribbons in the first place. I will work on that too. If there's interest, I'd let the user choose what skin they want software to recognitze (e.g. criminal, army, cop...).

If there are two kills on the kill list with two different weapons, it will store the same screenshot in two folders. You can see that in the video at 1:38. I probably killed myself using /kill and then killed someone with a hunter. So this screenshot ended up in two places, in the folder "Boom" and folder "Unsorted".

Re: Ribbon screenshot sorting

Posted: July 19, 2019, 8:00 am
by Robin
Impressive!
You can download entire Imgur albums at once, the Ribbon topic will give you plenty of material to test with! Just download 5-10 requests and throw them into one big pile.


Send me a DM on Discord as soon as you've got a download link, I'll sticky it as soon as I verified that the script is safe to use for others (gotta be sure, and keep the admins happy)

Re: Ribbon screenshot sorting

Posted: July 19, 2019, 8:08 am
by Playa
Thats really impressive. Good job!

Re: Ribbon screenshot sorting

Posted: July 19, 2019, 8:09 am
by @Eslam@
Thats really impressive. Good job![/font]

Re: Ribbon screenshot sorting

Posted: July 19, 2019, 8:36 am
by Shahan
Playa wrote:
Thats really impressive. Good job!

Re: Ribbon screenshot sorting

Posted: July 19, 2019, 9:36 am
by MinaTo
Good Job mate ! That will be really helpful.

All times are UTC
Page 1 of 2
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/