3d0c / imagio Goto Github PK
View Code? Open in Web Editor NEWImage Processing Web Service.
License: MIT License
Image Processing Web Service.
License: MIT License
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.
Getting the error query/options.go:4: can't find import: "github.com/3d0c/imagio/config"
I did run go get github.com/3d0c/imagio/config
... not sure what I'm missing.
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
# 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
Thanks!
following 2.1 in readme.
libs/libopencv_core.a(system.cpp.o): In function cv::getTickCount()': system.cpp:(.text._ZN2cv12getTickCountEv+0xd): undefined reference to
clock_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 to
clock_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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.