Story Details

  • Determining favorite t-shirt color using science

    Posted: 2025-05-03 12:18:46

    The blog post "Determining favorite t-shirt color using science" details a playful experiment using computer vision and Python to analyze a wardrobe of t-shirts. The author photographs their folded shirts, uses a script to extract the dominant color of each shirt, and then groups and counts these colors to determine their statistically "favorite" t-shirt color. While acknowledging the limitations of the method, such as lighting and folding inconsistencies, the author concludes their favorite color is blue, based on the prevalence of blue-hued shirts in their collection.

    Summary of Comments ( 2 )
    https://news.ycombinator.com/item?id=43878560

    HN commenters largely found the blog post's methodology flawed and amusing. Several pointed out that simply asking someone their favorite color would be more efficient than the convoluted process described. The top comment highlights the absurdity of using a script to scrape Facebook photos for color analysis, especially given the potential inaccuracies of such an approach. Others questioned the statistical validity of the sample size and the representativeness of Facebook photos as an indicator of preferred shirt color. Some found the over-engineered solution entertaining, appreciating the author's humorous approach to a trivial problem. A few commenters offered alternative, more robust methods for determining color preferences, including using color palettes and analyzing wardrobe composition.