Image acquisition package: Difference between revisions

Jump to navigation Jump to search
m
Remove redundant Category:Packages.
m (fix whitespaces)
m (Remove redundant Category:Packages.)
 
(5 intermediate revisions by 3 users not shown)
Line 7: Line 7:


If you want to report a bug: [[Image_acquisition_package#Reporting_bugs]]
If you want to report a bug: [[Image_acquisition_package#Reporting_bugs]]
'''image-acquisition will not work on Windows as far as there is not port of v4l2 (standing for ''Video for Linux 2'')'''


== Example session ==
== Example session ==
Line 174: Line 176:
There might be some warnings like "warning: function xyz shadows a built-in function" at start.
There might be some warnings like "warning: function xyz shadows a built-in function" at start.


Exit octave and add libv4l2_debug.log to your bug report
Exit octave and add libv4l2_debug.log to your bug report. The logfile libv4l2_debug.log is overwritten between open/close so you have to rename it if you run different scripts.


Consider running the included tests:
Consider running the included tests:
Line 182: Line 184:
  octave> test @videoinput/set
  octave> test @videoinput/set
  octave> test @videoinput/getsnapshot
  octave> test @videoinput/getsnapshot
Run the compliance check (perhaps also with -s)
v4l2-compliance -d /dev/video0


== Build source from mercurial repository ==
== Build source from mercurial repository ==
Line 187: Line 193:
'''Warning: You really should use the <pkg install -forge> method described above if you are not sure what you are doing here.'''
'''Warning: You really should use the <pkg install -forge> method described above if you are not sure what you are doing here.'''


Get the source here [http://sourceforge.net/p/octave/image-acquisition/ci/default/tree/] and build it yourself. The build dependencies for Debian GNU/Linux wheezy are '''libv4l-dev''' and '''libfltk1.3-dev''' or '''libfltk1.1-dev'''. You also need the GNU autotools to generate the configure script.
Get the source and build it yourself. The build dependencies for Debian GNU/Linux jessie are '''libv4l-dev''' and '''libfltk1.3-dev''' or '''libfltk1.1-dev'''. You also need the GNU autotools to generate the configure script.


  $ hg clone http://hg.code.sf.net/p/octave/image-acquisition octave-image-acquisition
  $ hg clone http://hg.code.sf.net/p/octave/image-acquisition octave-image-acquisition
  $ cd octave-image-acquisition/src/ && ./bootstrap
  $ cd octave-image-acquisition/
  $ cd ../..
  $ make install
$ tar czf image-acquisition.tar.gz octave-image-acquisition
octave:>> pkg install -verbose image-acquisition.tar.gz


== make check ==
== make check ==
Line 215: Line 219:


If there are tests which FAIL, then please have a look at the generated fntest.log and add it to your bug report.
If there are tests which FAIL, then please have a look at the generated fntest.log and add it to your bug report.
[[Category:Octave Forge]]

Navigation menu