This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM docker.io/library/alpine:3.20 as build | |
ENV DOWNLOADER_VERSION=3.14 | |
RUN apk add --no-cache \ | |
boost1.84-dev \ | |
cmake \ | |
curl-dev \ | |
g++ \ | |
git \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import itertools | |
import networkx as nx | |
from networkx.algorithms import bipartite | |
from colormath.color_objects import sRGBColor, LabColor | |
from colormath.color_conversions import convert_color | |
from colormath.color_diff import delta_e_cie2000 | |
# References | |
# (1) About comparing colors with colormath: https://dev.to/tejeshreddy/color-difference-between-2-colours-using-python-182b |