In this repo, we will use opencv to detect the basic color of gems
- Ensure you install the g++ and opencv
g++ `pkg-config opencv --cflags --libs` gems_color_sorting.c -o output
./output ./gems/Photo0769.jpg ./gems/Photo0776.jpg ./gems/Photo0777.jpg ./gems/Photo0778.jpg ./gems/Photo0779.jpg ./gems/Photo0778.jpg ./gems/Photo0777.jpg ./gems/Photo0769.jpg