Git Product home page Git Product logo

imagio's People

Contributors

3d0c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

imagio's Issues

Uncouple imgproc

Hi,

Would you consider uncouple imgproc with other packages in imagio? So that others can use it to process image without import other irrelevant packages in this project.

Trouble with shared library of libopencv v2.3.1-7

What version of go and libopencv should I be using?

Thanks!

 $ go install .
# github.com/3d0c/imagio/imgproc
./do.go:68: cannot use (*C.Blob)(unsafe.Pointer(blobptr(o.Base))) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_resizer
./do.go:69: cannot use (*C.PixelDim)(unsafe.Pointer(zoom)) (type *C.PixelDim) as type *C.struct___1 in argument to _Cfunc_resizer
./do.go:71: cannot use (*C.CvRect)(initCvRect(roi)) (type *C.CvRect) as type *C.struct_CvRect in argument to _Cfunc_resizer
./do.go:104: cannot use (*C.Blob)(blobptr(base)) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_blender
./do.go:105: cannot use (*C.Blob)(blobptr(o.Foreground)) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_blender
./do.go:106: cannot use (*C.Blob)(blobptr(o.Mask)) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_blender
./do.go:108: cannot use (*C.CvRect)(rect) (type *C.CvRect) as type *C.struct_CvRect in argument to _Cfunc_blender

building in method 2.2 doesn't work in Archlinux either

# github.com/3d0c/imagio/imgproc
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:68: cannot use (*C.Blob)(unsafe.Pointer(blobptr(o.Base))) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_resizer
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:69: cannot use (*C.PixelDim)(unsafe.Pointer(zoom)) (type *C.PixelDim) as type *C.struct___1 in argument to _Cfunc_resizer
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:71: cannot use (*C.CvRect)(initCvRect(roi)) (type *C.CvRect) as type *C.struct_CvRect in argument to _Cfunc_resizer
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:104: cannot use (*C.Blob)(blobptr(base)) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_blender
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:105: cannot use (*C.Blob)(blobptr(o.Foreground)) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_blender
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:106: cannot use (*C.Blob)(blobptr(o.Mask)) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_blender
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:108: cannot use (*C.CvRect)(rect) (type *C.CvRect) as type *C.struct_CvRect in argument to _Cfunc_blender

http://ix.io/ewL

Thanks!

build issue

following 2.1 in readme.

libs/libopencv_core.a(system.cpp.o): In function cv::getTickCount()': system.cpp:(.text._ZN2cv12getTickCountEv+0xd): undefined reference toclock_gettime'
collect2: ld returned 1 exit status
cannot parse /tmp/imagio-build1385080150/github.com/3d0c/imagio/imgproc/_obj/cgo.o as ELF, Mach-O or PE
/var/tmp/go-link-8bsfaP/000000.o: In function cv::getTickCount()': (.text._ZN2cv12getTickCountEv+0xd): undefined reference toclock_gettime'
collect2: ld returned 1 exit status
6l: running g++ failed: unsuccessful exit status 0x100
cp: cannot stat `/tmp/imagio-build1385080150/github.com/3d0c/imagio/_obj/exe/a.out': No such file or directory

License?

This is a great project. I had already been thinking about the possibility of an image resizing service behind groupcache before stumbling on this.

I'd love to contribute in some way, but since there's no license, it's unclear how the code can be used and/or modified. Would you mind adding a LICENSE file to the project, along with a mention in the readme perhaps? I'm a fan of the MIT license, or any other that allows source code to be modified, redistributed, and used with code under other licenses.

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.