Giter VIP home page Giter VIP logo

soccer-card-project's Introduction

My Childhood Soccer Card Project

Description

In this project, I tried to create soccer cards which I played in my past.

You can see a picture about these cards at below.

Alt text

I played these cards with my friends almost 20 years ago.

So, I decided to generate these cards with using transfermarkt datas.

I prepared some base photos as useful source for me. You can see them at below.

Alt text

I created them using Gimp and MS Power Point.

I used a technique to get data from transfermarkt which is known as web scraping. Also, I manipulated the pictures and datas which is downloaded.

You can see the final result as below.

Alt text

Tools

  • PyCharm Community Edition 2022.2.3 (To write codes and generate cards)
  • Gimp & Power Point (To create base photos)
  • Font files (To make almost same font in cards)

Installation

  • Be sure that Python 3 version is installed in your PC.
  • Clone the project using this command: https://github.com/erengaygusuz/soccer-card-project.git
  • Install required packages with using this command in terminal: pip install -r requirements.txt
  • Run the project.
  • Generated files will be under the ProjectRootDirectory/output-photos/final-results folder.

How to Use

  • If you run the code directly without changing anything, you will get player cards of Sportoto Super League Teams from Turkey.
  • To generate cards from other leagues, please change the value of variable named leagueLinkAddress with a transfermarkt league link address
  • For Example to generate England Premier League use this link: https://www.transfermarkt.com/premier-league/startseite/wettbewerb/GB1
  • Also some values are calculated with some random values if it does not exist or can not get from transfermarkt.
  • For example weight, height, market value, player number etc.

License

The MIT License (MIT)

soccer-card-project's People

Contributors

erengaygusuz avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

terryjbates

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.