Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added New Module for Image Segmentation #1442

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ataata107
Copy link

@ataata107 ataata107 commented Jan 7, 2020

Concerns #694

I have tried to add a new module which basically segments the image into n number of clusters based on k-Means Algorithm. I am still trying to increase the overall accuracy and performance of this module. This technique can be used for image segmentation rather than already present deep learning methods for faster performance.

More about this module can be found on
https://towardsdatascience.com/introduction-to-image-segmentation-with-k-means-clustering-83fd0a9e2fc3

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with npm test
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • ask @publiclab/is-reviewers for help, in a comment below
  • Insert-step functionality is working correct as expected.

ezgif com-video-to-gif (3)

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Please make sure to get at least two reviews before asking for merging the PR as that would make the PR more reliable on our part
Thanks!

@ataata107
Copy link
Author

ataata107 commented Jan 7, 2020

@publiclab/is-reviewers

Will refactor after your reviews

@codecov
Copy link

codecov bot commented Jan 7, 2020

Codecov Report

Merging #1442 into main will increase coverage by 10.09%.
The diff coverage is 63.17%.

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1442       +/-   ##
===========================================
+ Coverage   55.11%   65.21%   +10.09%     
===========================================
  Files         117      134       +17     
  Lines        2344     2757      +413     
  Branches      360      439       +79     
===========================================
+ Hits         1292     1798      +506     
+ Misses       1052      959       -93     
Impacted Files Coverage Δ
examples/lib/scopeQuery.js 18.51% <ø> (ø)
src/Modules.js 100.00% <ø> (ø)
src/modules/WebglDistort/Module.js 2.29% <0.00%> (ø)
src/ui/SetInputStep.js 12.90% <0.00%> (-1.39%) ⬇️
src/modules/ColorHalftone/Module.js 3.63% <3.63%> (ø)
examples/lib/defaultHtmlStepUi.js 11.35% <4.08%> (-0.85%) ⬇️
examples/lib/intermediateHtmlStepUi.js 11.11% <5.55%> (+0.94%) ⬆️
examples/lib/insertPreview.js 13.15% <20.00%> (-0.36%) ⬇️
src/util/getImageDimensions.js 20.00% <20.00%> (ø)
src/util/isGif.js 20.00% <20.00%> (ø)
... and 104 more

@gitpod-io
Copy link

gitpod-io bot commented Jul 7, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants