Ribbon screenshot sorting

The Army Pub is a place for friendly Army related chatter, sharing your fun moments & classical pub brawls.

Moderator: S.A. Army Generals

19 posts Page 1 of 2

Osolnik

User avatar
[Lsrcr]Osolnik
Developer
Posts: 578
Joined: March 1, 2013, 1:33 am

Post by Osolnik » July 19, 2019, 12:59 am
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
    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
Last edited by Osolnik on August 8, 2019, 9:12 am, edited 13 times in total.
Image

ackman

User avatar
[Lsrcr]Ackman
Game Administrator
Duel Master Event Host Blackmarket VIP
Posts: 5003
Joined: December 20, 2016, 7:25 am
Location: 696, Willowfield.

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

Image
Image
About me:

Hello, I am Ackman and I am from Pakistan. I'm a part time Epic Gamer. Coming to the Criminal Career I'd like to mention that I am the founder of Blackouts group. It was founded on 19th of April, in 2017. Other than that, I am the leader of DreamTeam group. Coming to the LEO Career, I am currently serving the Army faction as a Major [MAJ].
Current memberships:
  • Blackouts
  • DreamTeam
  • Akatsuki
  • NCS
  • Saints
  • VLA
  • Durcrew
  • Beta Tester
  • [Lsrcr] tag.
Activity Status:
  • In-game: 6/10
  • TeamSpeak: 1/10
  • Discord: 9/10 (ackman #7476)
  • Forums: 5/10
OldSchool:
Spoiler: show

AK33L

[Lsrcr]Ak331
Donator
Posts: 2246
Joined: November 21, 2015, 12:00 pm
Location: Mauritius

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

Faraon78910

User avatar
Faraon
Retired Administrator
Event Host
Posts: 7730
Joined: August 16, 2013, 10:12 pm
Location: Glen Park

Post by Faraon78910 » July 19, 2019, 7:16 am
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?

Osolnik

User avatar
[Lsrcr]Osolnik
Developer
Posts: 578
Joined: March 1, 2013, 1:33 am

Post by Osolnik » July 19, 2019, 7:24 am
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".
Image

Robin

User avatar
Robin
Donator
Posts: 12368
Joined: October 27, 2014, 11:08 am

Post by Robin » July 19, 2019, 8:00 am
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)
Retired community player 2013-2020
★ Retired LSPD United Chief of Police ★
★ Retired S.A. Army General ★

Spoiler: show
Spoiler: show

Playa

User avatar
Playa
Posts: 1754
Joined: April 28, 2016, 10:34 am
Location: Canada

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

Add me on steam!
Image

@Eslam@

User avatar
@eslam@
Posts: 814
Joined: February 28, 2019, 10:52 pm
Location: egypt

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

Shahan

User avatar
[Lsrcr]Shahan
Supporter
Posts: 1396
Joined: May 21, 2017, 4:51 pm
Location: Karachi , Pakistan

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

MinaTo

User avatar
MinaTo
Donator
Posts: 1270
Joined: March 23, 2017, 10:49 am

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

Image

Spoiler: show
19 posts Page 1 of 2
Return to “S.A. Army [★] Pub”

Who is online

Users browsing this forum: No registered users and 1 guest