Soc ninja title

Downloads

Downloads

Packages built for Raspberry Pi 2 Model B, running Debian, Raspbian GNU/Linux 8 (Jessie).

Packages will be installed to /opt (libjpeg-turbo) and /usr/local (opencv). It is recommended to uninstall opencv packages from the system, first.

Note: install python-numpy and run ldconfig after installing the packages:

  • libjpeg-turbo-1.4.2 - 288.4K DEB
    ../configure CPPFLAGS="-O3 -pipe -fPIC -mcpu=cortex-a7 mfpu=neon-vfpv4 -mfloat-abi=hard"
  • opencv-3.1 GIT 20160119 with opencv_contrib 20160131 modules included - 8.9M DEB
    cmake -D CMAKE_C_FLAGS="-O3 -pipe -fPIC -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" -DCMAKE_CXX_FLAGS="-O3 -pipe -fPIC -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" -DCMAKE_BUILD_TYPE=RELEASE -DMAKE_INSTALL_PREFIX=/usr/local -DBUILD_PYTHON_SUPPORT=ON -DWITH_JPEG=ON -DBUILD_JPEG=OFF -DJPEG_INCLUDE_DIR=/opt/libjpeg-turbo/include/ -DJPEG_LIBRARY=/opt/libjpeg-turbo/lib32/libjpeg.a -DUSE_VFPV3=ON -DENABLE_VFPV3=ON -DUSE_NEON=ON  -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules ..

Four packets for libttspico-utils for Raspbian / Debian 8 (Jessie) for Raspberry Pi:

  • libttspico0_1.0+git20130326-3_armhf.deb - 116.6K DEB
  • libttspico-utils_1.0+git20130326-3_armhf.deb - 8.4K DEB
  • libttspico-dev_1.0+git20130326-3_armhf.deb - 160K DEB
  • libttspico-data_1.0+git20130326-3_all.deb - 4M DEB


Packages built for AMD64 Debian GNU/Linux 8 (Jessie).

  • opencv 3.1.0 from GIT 20160201 with opencv_contrib built with the following parameters. 22.8M DEB
cmake -D CMAKE_C_FLAGS="-O3 -pipe -fPIC" -DCMAKE_CXX_FLAGS="-O3 -pipe -fPIC" -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules ..


Packages built for RAMIPS/MT7688 ( Linkit Smart 7688 (Duo) ) OpenWRT 15.05 (Chaos Calmer).

  • libtiff 4.0.6-2 based in OpenWRT GIT package. 123KB OPKG
  • libfreetype 2.5.5-2 based in OpenWRT GIT package. 251KB OPKG
  • pillow 3.2.0-1 based in OpenWRT GIT package. 348KB OPKG
/ # opkg install http://soc.ninja/static/media/uploads/Downloads/OPKG/libtiff_4.0.6-2_ramips_24kec.ipk
/ # opkg install http://soc.ninja/static/media/uploads/Downloads/OPKG/libfreetype_2.5.5-2_ramips_24kec.ipk
/ # opkg install http://soc.ninja/static/media/uploads/Downloads/OPKG/pillow_3.2.0-1_ramips_24kec.ipk
/ # python
Python 2.7.9 (default, Jun 29 2016, 13:00:52)
[GCC 4.8.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image
>>>


Scripts

Little Python script that shows which pixel format is set by OpenCV when opening a VideoCapture V4L2 device. Useful to ensure your camera supports and uses MJPG. For python2 and OpenCV3 here; version for OpenCV2 here.

Now it also counts how many captures can be made in 5 seconds and shows the equivalent FPS.

Example output with OpenCV 3.1.0 and a Logitech HD Pro C920:

Current Pixel Format: MJPG
Opening VideoCapture
Now Pixel Format is: YUYV
With resolution 1024x576 Pixel Format is MJPG
With resolution 1280x720 Pixel Format is MJPG
With resolution 1600x896 Pixel Format is MJPG
With resolution 160x120 Pixel Format is YUYV
With resolution 160x90 Pixel Format is YUYV
With resolution 176x144 Pixel Format is YUYV
With resolution 1920x1080 Pixel Format is MJPG
With resolution 2304x1296 Pixel Format is YUYV
With resolution 2304x1536 Pixel Format is YUYV
With resolution 320x180 Pixel Format is YUYV
With resolution 320x240 Pixel Format is YUYV
With resolution 352x288 Pixel Format is YUYV
With resolution 432x240 Pixel Format is YUYV
With resolution 640x360 Pixel Format is YUYV
With resolution 640x480 Pixel Format is YUYV
With resolution 800x448 Pixel Format is YUYV
With resolution 800x600 Pixel Format is MJPG
With resolution 864x480 Pixel Format is MJPG
With resolution 960x720 Pixel Format is MJPG
Supporting MJPG:
['1024x576', '1280x720', '1600x896', '1920x1080', '800x600', '864x480', '960x720']



If you found anything useful enough and you want to thank us for that, please consider donating to people who need it, like the NGO OXFAM. Thank you !


Comments

Comments are manually approved. Just be a bit patient :-)

There are currently no comments

New Comment

required

required (not published)

optional

Recent Tweets