Git Product home page Git Product logo

spark-convolution-patch's Introduction

Blur, sharpen, edge-detection, and convolution patches for Spark AR

https://en.wikipedia.org/wiki/Kernel_(image_processing)

All of the patches have a strength input, which can be controlled in the demo by clicking on the controller block and using the strength slider in the properties panel.

TIP! If you are using gaussian blur, a more performant option is to chain two directional blurs together (one horizontal, one vertical).

Patches

Numbers in the patch names signify the size of the kernel that is used. Lower is better for performance, higher is better for quality.

BlurDirectional3, BlurDirectional5

Blur that accepts a vector for directional blurring. Direction vector is normalized, so any range of numbers is acceptable

Convolve3, Convolve5

General purpose convolution patches that are used as a base for the other patches.

UnsharpMask5

Really good looking sharpening. Just wow. Great job.

Sharpen3

Harsh sharpening, good for enhancing small details.

BlurGaussian3, BlurGaussian5

Gaussian blur. You know the one.

EdgeBox3

Boxy edge detector.

EdgeCross3

Crossy edge detector.

Edge detection tutorial (outdated)

tutorial

Resources

Learn more stuff by watching my Spark AR Tutorials on YouTube!

Follow me on Instagram @positlabs and try out my effects!

Browse my open-source Spark AR repositories on Github!

Have questions? Join the Spark AR Community group on Facebook.

Donations

If you used this in client projects, or simply enjoyed making effects with my open-source projects, please consider a donation or sponsorship. One-time donations can be made with PayPal. Subscriptions can be through PayPal or Github Sponsors (click the heart sponsor button at the top of the page).

spark-convolution-patch's People

Contributors

positlabs avatar

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.