Ethan

Making products people love πŸ”₯πŸš€

JOIN ME 😈 https://twitter.com/Booligoosh/status/1112675160128053248

Rotated the KanbanMail landing page by 2Β° for April Fool's day πŸ˜ˆπŸ˜ˆπŸ‘‰ kanbanmail.app

Jason Leow

Wut?! Hahaha good one!

0 Likes

Finally got mask working for white! (it also detects the background but that's not a problem)

Created a getMaskRangesForColor function which returns the threshold ranges for a color constant

Created a getImageMaskForRanges function which can handle multiple threshold ranges eg. red has two ranges because it wraps around from 179 to 0

Created a getImageMaskForRange which takes in an image, lower array and upper array and outputs a mask

Created a multiChannelApplyMask function based on a nice solution I found in a GitHub issue

Wait 1 second if loading image from camera so it has time to adjust to lighting