Giter Site home page Giter Site logo

minio / go-cv Goto Github PK

View Code? Open in Web Editor NEW
6.0 8.0 4.0 400 KB

Golang wrapper for https://github.com/ermig1979/Simd

License: Other

Go 100.00%
opencv-library simd-instructions image-processing deep-learning deep-neural-networks convolutional-neural-networks

go-cv's Introduction

go-cv

Golang wrapper for https://github.com/ermig1979/Simd

Installation

Install Simd first follow the document here

go get -u github.com/minio/go-cv

Examples

See the samples directory for several examples such as face detection, motion detection, contour detection etc.

Performance comparison

Show a performance comparison to OpenCV 2.4 for various techniques.

AVX2

benchmark                   old ns/op     new ns/op     delta
BenchmarkGaussian-4         3734353       566876        -84.82%
BenchmarkGaussianRGB-4      11377449      2491829       -78.10%
BenchmarkBlur-4             5518315       558090        -89.89%
BenchmarkBlurRGB-4          16723964      2576614       -84.59%
BenchmarkMedian3x3-4        2694912       821913        -69.50%
BenchmarkMedian3x3RGB-4     5735211       2457584       -57.15%
BenchmarkMedian5x5-4        16241921      5007327       -69.17%
BenchmarkMedian5x5RGB-4     40002965      15524691      -61.19%
BenchmarkBGRtoGray-4        5688284       1220252       -78.55%
BenchmarkBGRtoHsv-4         47361397      11109236      -76.54%
BenchmarkBGRtoHsl-4         63311124      11108623      -82.45%
BenchmarkGraytoBGR-4        5823166       680269        -88.32%
BenchmarkCascadeHaar-4      366020630     60297843      -83.53%

AVX1

benchmark                   old ns/op     new ns/op     delta
BenchmarkGaussian-8         3645335       1082332       -70.31%
BenchmarkGaussianRGB-8      10885144      3636472       -66.59%
BenchmarkBlur-8             5814178       1406019       -75.82%
BenchmarkBlurRGB-8          17284782      3479465       -79.87%
BenchmarkMedian3x3-8        2397787       1358023       -43.36%
BenchmarkMedian3x3RGB-8     5232342       4253066       -18.72%
BenchmarkMedian5x5-8        17180590      8482600       -50.63%
BenchmarkMedian5x5RGB-8     42957406      24858284      -42.13%
BenchmarkBGRtoGray-8        1416342       1367315       -3.46%
BenchmarkBGRtoHsv-8         8766591       10982978      +25.28%
BenchmarkBGRtoHsl-8         13180733      10882656      -17.44%
BenchmarkGraytoBGR-8        1428323       1392910       -2.48%

ARM

TO DO

go-cv's People

Contributors

fwessels avatar harshavardhana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.