Team Managers, Coaches, Trainers and Parents,
Throughout a normal ice hockey season, every player's detail is used within a number of locations which include the Ijshockey.nl and club websites which also includes a player's portrait photo.
These photos are loaded manually by the club management into United and then synced manually by Ijshockey Nederland into HockeyData.net from where they are presented using the HockeyData.net API into the websites.
For each player has a unique id number exists within the platform and a photo is linked to this id. There are no histories and any queries into the API will always return the current photo even if this is 10 years old. If no photo is set, the HockeyData API “ghost-player.png” is used.
https://api.hockeydata.net/img/icehockey/_static/ghost-player.png
To ensure these portraits photos render well on all the sites, we use guidelines from the HockeyData API “ghost-player.png” which is used when no player portrait exists and past experience from how to take these photos.
This is done by me on my own equipment.
Regards,
Johan Els.
Please Note:
Lights setup takes 45-60 minutes,
Restarting a session takes 15 minutes,
You are responsible to get the players too and from the photo area, and
You are responsible to get the players setup on the ice correctly for the team photo.
Other portrait photos like player with partner or player with parents can also be done, just ensure everyone is present when the player portrait is taken.
Originals should include enough headroom and be level with the eyes. Ensure a neutral background.
Please Note: In these examples, there was not enough headroom in the photos and additional headroom had to be added by hand.
Using the images as they are delivered from HockeyData API we are able to assume that the platform crops any uploaded images into 300x400px.
An AI model is used to ensure that all portrait photos are aligned vertically and horizontally the same using the location of the eyes. An updated version of the Magic Crop ( https://poloclub.github.io/magic-crop/ ) is used where the “Proportion of face to height of entire picture” option is expanded to include an 1/10 (10%) option which results in the required ratio.
Please Note: In some cases if the background and foreground colours do not differ enough, the AI model is not able to isolate the head from the background, and detection fails. In these cases the photo has to be processed manually.
Doing this correctly, the player portrait should render correctly on all sites that use the HockeyData API.
The team photo is for use on the websites and social platforms.
To ensure all team photos match as close as possible to the Eredivisie team photo, we will use these guidelines.
Main entrance side of de Vechtsebanen on the blue line,
3 Rows with back row standing on wooden benches, middle row standing on ice and front row seated.
Goalies, coaches and managers front row seated,
No helmets, no sticks and with gloves, and
Camera level with middle front row.