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
Osolnik
Developer
Posts: 578
Joined: March 1, 2013, 1:33 am

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

ackman

User avatar
Ackman
Donator
Duel Master
Posts: 4779
Joined: December 20, 2016, 7:25 am
Location: 696, Willowfield.

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
ImageImage ImageImage[/center]

Image
Image
Image
Image
Image
Image
Image

Image
Image
Image
Image
Image
Image
Image
Image

[spoiler]Image
Image
Image
Image
Image
Image
Image
Image
Image

AK33L

Ak3EL
Donator
Supporter
Posts: 2220
Joined: November 21, 2015, 12:00 pm
Location: Mauritius

by AK33L » July 19, 2019, 6:27 am
ackman wrote :
OMG amazing! Literally loved the video!
LSRCR Donator
LSRCR Supporter
Army 2nd Lieutenent
Pagati Ex-capo/Current Soldier
Renegades President
Akatsuki Co-Leader
LSPDU Member
Vic’s Gang Veteran/Ex-Leader
Blackouts Ex-tester
NCS Ex-tester
Dreamteam member
The Legends Legend
Terrorists Ex-Member

Faraon78910

User avatar
Faraon
S.A. Army General
Event Host Supporter
Posts: 7600
Joined: August 16, 2013, 10:12 pm
Location: Jefferson

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?
Image

Game Administrator
Army General HTO & HEO
Vic's Gang Owner

Osolnik

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

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: 12382
Joined: October 27, 2014, 11:08 am

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
Image
ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Image

Spoiler: show
All Former Positions and Titles
LSPD United Chief of Police & Founder
S.A. Army General, Commander-In-Chief
& High Command & Head Event Officer

Lsrcr Website & Server Developer
La Famiglia Assassini Pagati Underboss

LS-RCR Radio Manager & DJ
LS-RCR Newspaper Head Editor
SAPT Advisor & Driving Instructor
Blackouts Advisor
Saints Training Officer & Rookie
Absynth's Crew Assassin
Comrades Worker
And much more...

Playa

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

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



Add me on steam!
Image

@Eslam@

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

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

Shahan

User avatar
ShahaN
Event Host
Event Host Supporter
Posts: 1438
Joined: May 21, 2017, 4:51 pm
Location: Karachi , Pakistan

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

MinaTo

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

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


Image



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

Who is online

Users browsing this forum: No registered users and 3 guests