Skip to content

Add canny edges filter #3

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

Merged
merged 4 commits into from
Oct 16, 2014
Merged

Add canny edges filter #3

merged 4 commits into from
Oct 16, 2014

Conversation

GabiThume
Copy link
Member

Hi! I am going to MozFest together with @forresto, @automata and maybe more of you :), so I am planning to create some filters to work on the Turtle Power installation/workshop.

This one is a canny edge detector from JSFeat, and the image below shows it working on Flowhub.

cannyedges

Also, I wanted to create a test, but I ended up with a problem on node-canvas (Automattic/node-canvas#476) so I committed only a simple version of the test, but the full version is on https://gist.github.com/GabiThume/335eabfc5fd440242b89 for later.

@forresto
Copy link
Member

Nice PR! The img->canvas and video->canvas utils that you built in could be useful to extract out as separate components or subgraphs. What do you think? There is already the UrlToCanvas graph.

@GabiThume
Copy link
Member Author

Hi @forresto, thanks! I agree with you and will give it a try :)

@GabiThume
Copy link
Member Author

Updated the PR to include VideoToCanvas and ImageToCanvas. They seem pretty much the same, but I guess semantics matter in this case. What do you think @forresto? 😃

getcannyedges

@forresto
Copy link
Member

forresto commented Oct 9, 2014

Sorry for the lag... you know why!

@forresto forresto merged commit 0fbc6c5 into noflo:master Oct 16, 2014
forresto added a commit that referenced this pull request Oct 16, 2014
forresto added a commit that referenced this pull request Oct 16, 2014
* new In/OutPorts format
* shutdown method is good to have for well-behaved components with
timeouts, rAF, etc.
* optional canvas input to draw to canvas already in DOM
* only create one canvas, send it to output on every draw
* only draw and send if video time has changed
* TODO spec!
@forresto
Copy link
Member

I ended up changing a bunch in VideoToCanvas, check it out.

@GabiThume
Copy link
Member Author

Really cool changes @forresto :) thank you!

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