Giter VIP home page Giter VIP logo

colordetect's Introduction

๐Ÿ‘‹ I'm Marvin,

A software engineer cum research scientist, and here is a peek into what I do.

๐Ÿ‘ท What I am building

  • Urbanlibrary The African literature library collection. An exploration of African works of Literature
  • ColorDetect Image and color detection and recognition algorithms
  • The AssessMe Project The classroom testing experience brought online.
  • Masomo An e-learning platform. Organise modules, courses and subjects with dynamic content between video and text.
  • StockTrader A stock inventory management system
  • CommunityWrites A Community publishing platform.
  • SocialFeed A social image-bookmarking and sharing application
  • MyDuka The e-commerce platform I need
  • TambuaShamba Understanding the health of a farm based on soil organic carbon

Stick around, make a pull, and let's share ๐Ÿš€ there's always more to come ๐Ÿ‘ท

๐Ÿ”ˆ What I talk about

Conversation on scalability, architecture, technopreneurs and health of the developer at heart TheGreenCodes

  1. Software Architecture
  2. Scalability
  3. Technopreneurship
  4. Health Digest

๐Ÿ“ฌ Connect with me

You can get me on the following platforms:

colordetect's People

Contributors

henriod avatar ian-yy avatar marvinkweyu avatar onyonkaclifford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

colordetect's Issues

Pytest coverage single falls below minimum 50

pytest-coverage-badge

Name Stmts Miss Cover
init.py 0 0 100%
colordetect/init.py 3 3 0%
colordetect/col_share.py 24 24 0%
colordetect/color_detect.py 149 149 0%
colordetect/video_color_detect.py 35 35 0%
docs/conf.py 15 15 0%
setup.py 4 4 0%
tests/init.py 0 0 100%
tests/conftest.py 23 13 43%
tests/test_functional.py 25 21 16%
tests/test_unit.py 71 67 6%
TOTAL 349 331 5%

test_ordered_colors_are_correct_count fails remotely but work locally

The test:
test_ordered_colors_are_correct_count passes locally, but fails on CircleCi push.

Steps to reproduce:

Running locally

pytest tests/test_unit.py::test_ordered_colors_are_correct_count

Screenshot_20210117_110950

Running via CircleCi

Navigate to the project root directory and run CircleCi CLI build

circleci build

how many colors can detect?

Hi ,thanks for your work, it helps me a lot. The question is how many colors can detect, can you give me a list ?

Fix percentage processing display in some videos

Percentage processing is off in some videos, showing an incomplete process when the value has already been returned. A sample video can be found here as the file SampleTree


[#######################################################################################             ] 87% Color Detection

{'[217.0, 157.0, 58.0]': 11.11, '[122.0, 85.0, 10.0]': 12.25, '[254.0, 252.0, 242.0]': 15.4, '[251.0, 225.0, 152.0]': 16.14, '[28.0, 21.0, 2.0]': 45.1, '[254.0, 250.0, 212.0]': 11.36, '[121.0, 77.0, 7.0]': 11.78, '[215.0, 150.0, 52.0]': 11.94, '[250.0, 214.0, 139.0]': 15.58, '[20.0, 15.0, 2.0]': 49.34, '[254.0, 247.0, 202.0]': 12.2, '[117.0, 74.0, 7.0]': 12.27, '[210.0, 147.0, 50.0]': 12.98, '[247.0, 208.0, 134.0]': 15.44, '[19.0, 14.0, 1.0]': 47.11, '[128.0, 72.0, 5.0]': 11.93, '[247.0, 193.0, 109.0]': 13.55, '[214.0, 139.0, 35.0]': 14.33, '[254.0, 244.0, 180.0]': 18.21, '[23.0, 14.0, 1.0]': 41.99, '[100.0, 53.0, 3.0]': 11.0, '[177.0, 108.0, 21.0]': 14.12, '[233.0, 159.0, 63.0]': 16.1, '[250.0, 218.0, 136.0]': 18.55, '[16.0, 9.0, 1.0]': 40.23, '[93.0, 51.0, 3.0]': 11.07, '[169.0, 104.0, 21.0]': 14.91, '[228.0, 156.0, 61.0]': 15.96, '[245.0, 207.0, 129.0]': 17.92, '[14.0, 8.0, 1.0]': 40.15, '[101.0, 51.0, 2.0]': 10.42, '[181.0, 105.0, 14.0]': 12.33, '[239.0, 162.0, 59.0]': 14.33, '[253.0, 228.0, 140.0]': 22.25, '[14.0, 9.0, 1.0]': 40.33, '[96.0, 49.0, 2.0]': 10.3, '[176.0, 102.0, 13.0]': 12.45, '[237.0, 161.0, 60.0]': 14.67} 

Fix script color count.

The script keeps identifying 2 color counts in a given image regardless of the actual number.

Add Test Cases

Write any unit or functional test for a method that needs it.

Pytest coverage single falls below minimum 60

pytest-coverage-badge

Name Stmts Miss Cover
init.py 0 0 100%
colordetect/init.py 3 3 0%
colordetect/col_share.py 24 24 0%
colordetect/color_detect.py 149 149 0%
colordetect/video_color_detect.py 35 35 0%
TOTAL 211 211 0%

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.