-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snap image with Gig-E camera #16
Comments
Hi, With the description of your wanted setup I would suggest you take a look a look at triggering. It should allow you the sequenced image retrieval from different cameras and also enable custom time intervals. Cheers, |
Hi, Thank you very much for your suggestion. We are trying to do that but could you also teach us the page or any document describing it? It would help us so efficiently. |
The steps for triggering with aravis are:
The callback function will now be called every time a new image arrives (i.e. you activated trigger). A real life example can be found here: I hope this helps clarifying things for you. |
Hi, Thank you a lot! /usr/bin/gcc -g -O0 -std=c99 -Wall -I/usr/local/include/aravis-0.4 -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -DUSE_GIGE -pthread -c -o gevCapture.o -DVERSION="$(./printversion.sh)" gevCapture.c |
Do you have all necessary header files installed? I was able to compile the project fine, so it boils down to where the difference in our setup is. |
Hi, I already install libglib2.0-dev but somehow failed. This error occurs on the Ubuntu 13.10 in my laptop. % ./configure --enable-viewer --enable-gst-plugin Compiler: gcc Build viewer: yes % make[1]: Entering directory On the Ubuntu 13.10, I've never seen this kind of error. I guess the lack of streamer-0.10 plugin might be the cause despite although I did not include the --enable-gst-plugin-0.10 option. Is it necessary for the ARAVIS compilation? Actually I looked for the way to install gstreamer-base-0.10 One more thing, what version of ARAVIS is needed for the compilation of gevCapture.c? Sorry for making the thing complicated. |
Hi, The viewer changed to gstreamer-1.0 with release 0.3.2. Quote:
If you wish to use or plugins you will currently have to use gst-0.10 (which hopefully will change soon).
gcc seems to find the header but not the library to resolve gst_fraction_type, which is....weird. If you need to install gstreamer libraries I would suspect libgstreamer1.0-dev or something related is missing.
I am not aware of any restrictions to certain aravis version. The API has not changed for a long time and should be considered stable, so it should not matter which version is used. |
Hi, I've not seen any errors and false during configure. I got exactly the same result for ARAVIS_0_3_2 on the Ubuntu 12.04.5 LTS as yours with the same options in your example. Configuration: Compiler: gcc Build viewer: yes When I executed make command, I got the same error as one in my previous comment. % make I have no idea why this happens. Cheers, |
Ok, I assume you called Have tried the aravis mailing list? Maybe they will be able to see what I don't. I will continue searching what dependency/configuration is missing... |
Hi,
Yes. I run make clean when I recompile.
As I wrote in the previous comment, I've missed gstreamer-base-0.10 Besides, I would like ask you the correct way of the compilation. Thank you! |
Since autogen only generates the configure script it should (in theory) not affect the discovery of libraries an header files. At this point I am not sure why aravis is not building on your system. Please ask on the aravis mailing list. They will be able to help better than I |
Hi, I already ask about it to the people in aravis and they are trying to understand what the problem is. |
Hi, I succeeded to compile ARAVIS_0_3_2 with "./configure --enable-viewer --enable-gst-plugin --enable-gst-0.10-plugin --enable-introspection=yes" % make Actually, /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libgobject-2.0.so exists. Cheers, |
Hi, I have not seen that error before. My best guess would be something on the line of this: https://fedoraproject.org/wiki/UnderstandingDSOLinkChange |
Hi, I succeeded to compile! Yoshi On Sep 17, 2014, at 11:26 PM, Edgar notifications@github.com wrote:
|
Dear all,
Now I and my colleague are trying to simply snap the image with the camera DMK 23GM021, employing Gigabit-ethernet communication (Product of Imaging Source company).
We have used arvcameratest.c and related libraries provided athttps://github.com/TheImagingSource/tiscamera/wiki/Aravis.
However, this program seems to capture an image as one shot in the video. This is different from what we want. We want to simply capture an image at an arbitrary time and take images a few times with a short interval (~10ms). The video mode takes a longer dead time (~500ms) than the time we want to achieve. We also want to make a loop of the process using several cameras, i.e., taking an image one after another with different cameras. So we are afraid that the memory buffer is saturated if the video mode is used because we need a few images and others are stored in the buffer.
If you know how to take a snap shot and shorten the dead time or have any suggestions, could you teach us?
We really need your help.
Best regards,
The text was updated successfully, but these errors were encountered: