Comments (8)
It's a known issue for a while. There's no bandwidth or resource by now. If I can get your usecase/requirement maybe we can balance priority to support.
from libxcam.
hi, currently stitching based on special parameters and somewhere may have hardcode, e.g. fisheye lens, special input format, resolution and your cameras should aligned or better very close.
capture, you can use gstreamer or other media framework and use libxcam for image processing.
anytime if you have blocks in your trying, you can drop us mail to share your usecase details. we are glad if we can support.
from libxcam.
usercase is have 4 usb 3.0 cameras (360 degree) on one usb 3.1
bandwidth for raw video is not possible so we use MJPEG compression
from libxcam.
capture is a one feature in libxcam. as you may know that there are lots features about image processing and video analysis in libxcam. I'm not sure you want use only capture or more other features.
could you send me a mail about your use case and project details? we can give technical support or better advice.
from libxcam.
yes we want use the stitching and image processings from libxam for a live 360 degree streaming video
what exactly infos do you need?
from libxcam.
hi again, i tryed some more gstreamer pipes
gst-launch-1.0 v4l2src device=/dev/video0 ! image/jpeg, width=2304, height=1536, interlaced=false, pixel-aspect-ratio=1/1 ! queue ! vaapidecodebin ! vaapipostproc ! videoconvert ! xcamfilter copy-mode=1 ! videoconvert ! ximagesink sync=false -v
but i get some errors on this
most importend part is
CAM WARNING gstxcamfilter.cpp:706: xcamfilter dequeue buffer failed
0:00:03.453440983 27279 0x122f000 WARN basetransform gstbasetransform.c:2145:default_generate_output: could not get buffer from pool: ok
the idea is to use vaapi to decode the image/jpeg and use xcamfilter (opencl) to colorspace to
NV12 -> to BGR for opencv usage
from libxcam.
looks like this works
gst-launch-1.0 v4l2src io-mode=dmabuf device=/dev/video0 ! image/jpeg, width=2304, height=1536 ! vaapidecodebin ! xcamfilter copy-mode=1 ! vaapipostproc ! video/x-raw,format=BGRx ! ximagesink sync=false -v
but its vers slow
gstxcamfilter Current fps: 14,25, Total avg fps: 12,26
gstxcamfilter Current fps: 15,52, Total avg fps: 13,19
gstxcamfilter Current fps: 15,43, Total avg fps: 13,68
gstxcamfilter Current fps: 15,64, Total avg fps: 14,03
gstxcamfilter Current fps: 15,70, Total avg fps: 14,29
XCAM WARNING gstxcamfilter.cpp:706: xcamfilter dequeue buffer failed
from libxcam.
looks good.
BTY, xcamfilter doesn't export color space conversion up to now. sink and src pad only support NV12 format. vaapidecode link to xcamfilter need a copy since xcamfilter support DMA-fd not VASurfaceID.
from libxcam.
Related Issues (20)
- Car Surround view with fisheye cameras HOT 23
- If surround view is working with libxcam, can anyone please post output image ? HOT 2
- The documents are not generate HOT 1
- How do I process live camera inputs to generate surround view? HOT 5
- How do I specify OpenCV calibration parameters? HOT 1
- Build failure with GCC 12, narrowing conversion from 'long unsigned int' to 'int' [-Wnarrowing]
- How to get better Car Surround view with fisheye cameras?
- Is there any way to correct the fisheye of a single image? HOT 7
- How to add 2 inputs to gstreamer's xcamfilter plugin for stitch HOT 4
- configure giving error for wrong opencv version while running autogen.sh HOT 2
- not makefile found HOT 1
- build 'dump_dma_video_buf' was not declared in this scope HOT 3
- Surround View with 2 cameras using DewarpSphere Mode HOT 4
- test-surround-view: command not found HOT 5
- how to check which makefile is running when we execute the build given in wiki? HOT 2
- Bowl View using Fisheye Cameras from a Car HOT 1
- FisheyeInfo doesn't match to OpenCL program.
- About 360 Surround View
- minor wiki/testing typo?
- Missing Parameters K,D,R,t,c in json file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libxcam.