Created to substitute news.icpc.global/gallery photoarchive.
Important features to keep:
Welcome to the updated icpc gallery. All official photos from ICPC World Finals are stored here. If you would like to contribute your photos, email to lidia@icpc.global.
Select a year! Selector is located on the left on desktop and in the upper menu on mobile/ By default, when selectin a year with no other filters preset, you will enter a Photo Tour
.
Photos from each year are classified into multiple events. Select the appropriate event in the Events
filter. Some noteworthy filters are Opening Ceremony
. Team Photos
, World Finals
and Closing Ceremony
.
Pictures may have specific teams tagged in them. Select the team name from the list (or type a few letters to narrow your search) to get all images of that team in the selected year.
To select the images with recognised individuals, pick a name from the list of suggestions, or type a few letters to narrow your search.
To search by a keyword just type it into the Search field. For example, Bill
, Opening
or Champions
The gallery is built on top of the flickr api backend. All metadata is stored in photo exif tags. Tag types are:
album$2001
event$Team Photos
team$Aalto University
Bill Poucher(1761524d3f579a4d)
. The data in parenthesis denotes face location within the image in Picasa standard.Visit tutorial for more info.
The 16 characters enclosed in rect64(…) is a 64-bit hexadecimal number which can be broken up into four 16-bit numbers used to identify the position of the rectangle used to mark the face.
If you divide each of the four 16-bit numbers by the maximum unsigned 16-bit number (65535), you’ll get four numbers between 0 and 1 which give the relative coordinates for the face rectangle in the order: left, top, right, bottom.
To calculate the absolute coordinates, multiply the left and right relative coordinates by the width of the image and multiply the top and bottom relative coordinates by the height of the image. This way the faces will always be identified even when the image is re-sized.
Even though flickr stores tags in their initial form, it is important to remember the following
"team$Aalto University"
to keep tag intactsrc/const.js
contais access detail and general year setup.
This repository supports multiple galleries, each with its own dedicated /data/
folder.
Each year is represented by three files in this folder: .event
, .people
and .team
with one item per line.
all_raw
on the bottom of the pageall_raw.zip
archive into Bluehost -> Advanced -> File Manager -> under home/public_html/newsicpc/
folderall_raw.zip
in the bluehost filemanager webinterface and press the Extract
buttonRequires: Node 18+
Select gallery instance and build
set version=
set PUBLIC_URL=gallery%version%
set VITE_DATA_FOLDER=data%version%
echo "Making bundle with public_url=%PUBLIC_URL% and data=%VITE_DATA_FOLDER%"
npm run build -- --base=/%PUBLIC_URL%