Skip to content

Modified based on guveview version2.0.5, support viewing most LI-USB3 bayer sensors, capture raw frames, registers read/write

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

danyu9394/li_guvcview_for_usb3

Repository files navigation

li_guvcview_for_usb3

guvcview is a simple interface for capturing and viewing video from v4l2 devices, with a special emphasis for the linux uvc driver. This is Leopard Imaging modified version for guvcivew. Modified based on guveview version2.0.5.

  • Support viewing most LI-USB3 bayer sensors
  • Capture raw frames
  • Registers read/write

Install guvcview

Dependencies:

Make sure the following libraries have installed

#/bin/sh
sudo apt-get install intltool
sudo apt-get install autotools-dev
sudo apt-get install libsdl1.2-dev
sudo apt-get install libgtk-3-dev
sudo apt-get install portaudio19-dev
sudo apt-get install libpng12-dev
sudo apt-get install libavcodec-dev
sudo apt-get install libavutil-dev
sudo apt-get install libv4l-dev
sudo apt-get install libudev-dev
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libpulse-dev
sudo apt-get install libsdl2-dev
sudo apt-get install libsfml-dev
sudo apt-get install qtbase5-dev
sudo apt-get install libgsl0-dev

Build Configuration:

After running the following commands, guvcview executable will be appeared under /guvcview

#/bin/sh
chmod +x bootstrap.h
./bootstrap.h
./configure
make
sudo make install

Run Application:

First identify your camera device using:

lsusb
ls /dev/video*

Run your camera device by changing /dev/video#

./guvcview/guvcview -d /dev/video0  

Add more sensors for debayering

Inside frame_decode.c, under case V4L2_PIX_FMT_YUYV, add the pixel order accordingly for color sensor. Use mono2yu12 for monochrome sensor.

##Capture and view raw image Captured raw image can be viewed by imageJ on windows and linux. Select the following when you want to view the raw iamge:

  • Image type : 16-bit Unsigned
  • Width: 4000 pixels
  • height: 3000 pixels
  • Select "Little-endian byte order"

After opening the image, you can adjust image contrast in Process then Enhance Contrast, select Equalize histogram

Test platform:

4.15.0-32-generic #35~16.04.1-Ubuntu 4.15.0-20-generic #21~Ubuntu 18.04.1 LTS

Author: Danyu LI Date: 2018/Aug

About

Modified based on guveview version2.0.5, support viewing most LI-USB3 bayer sensors, capture raw frames, registers read/write

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published