Giter VIP home page Giter VIP logo

Comments (4)

BradLarson avatar BradLarson commented on May 29, 2024 8

Probably not. One of the driving factors in rewriting the framework in Swift was to allow for it to work on platforms outside of Mac and iOS. In particular, I want this to run on desktop and embedded Linux devices. Metal is a very interesting technology, but it doesn't exist on those other platforms.

There are a few places where Metal might make building things internally a little easier, but for performance I don't think it would have that large an impact. It really shines for situations where you have a ton of draw calls or state changes, and want to be able to update various parts of a scene in a multithreaded manner. There's only a single draw call in general for each rendered frame in this framework, and I even cache shader programs and uniform values to further minimize state changes. Image frames need to be processed in sequence, so simple queue-based multithreading is all I need.

That's a fascinating project, and I'd be interested in testing it vs. this, but the small performance advantages it might give are outweighed by the reduction in platform support.

from gpuimage2.

erickingxu avatar erickingxu commented on May 29, 2024 1

Hi @pjebs and @BradLarson ,
Thanks for Brad's work for GPUImage, and I try some Metal API for my recently work, I found it was some tips for newer in Image processing .
Metal is low level api to Opengles, i used it because it computing some image works like gaussian and face transform is much easier and faster with its multithreads.
On an other hand, its rendering pass is designed better in 3D.
Especially, you can biltCommand to copy bytes easier between textures and buffers with a better speed.
So I try to write a easy Metal framework like GPUImage design for this, you can refer to it in GitHub:
https://github.com/erickingxu/MetalImage

from gpuimage2.

mahdidham avatar mahdidham commented on May 29, 2024

Is it possible to merge Metal API project like this project with this Framework? I want to detect features using ShiTomasi feature detector inside the haar-cascade's rectangle that using Metal API. Thanks @BradLarson

from gpuimage2.

BradLarson avatar BradLarson commented on May 29, 2024

This is being addressed in issue #250 , as well as here:

https://github.com/BradLarson/GPUImage3

from gpuimage2.

Related Issues (20)

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.