Skip to content

outfits-bio/rbcm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recommendations by color matching (rbcm)

Our open-source color matching technology to be used to give you the recommendations by comparing the posts you liked with other posts by matching the % of color similarity.

How to use?

  1. Install our bun (fast runtime with built-in typescript support) i prefer using.
  2. Install packages i prefer pnpm so pnpm install.
  3. Then create subfolders in assets/ and upload atleast 2 images.
  4. Run either by pnpm run dev or bun run ..
  5. For support, questions or else join our Discord.

Dependencies

  • node-vibrant - used to extract colors from images in the getColors function.
  • colorjs.io - used for the math behind color similarity.
  • fs - used to write the data in .json files.
  • path - used to find paths easily.

Example footage

Example Footage Gif

About

open-source color matching technology

Resources

License

Stars

Watchers

Forks

Releases

No releases published