Utilities
- Remote access to a webcam : these programs are a TCP server opening a webcam and sending images to a TCP client using JPEG compression provided by the OpenCV function cvEncodeImage() and with a time compression based on movement detection (source code using OpenCV 2.3.1 (build folder corresponds to C:\OpenCV2.3.1) in C/C++ for Visual Studio 2008 SP1 and a Makefile to build also the programs for Linux, updated source code).
- Webcam monitoring : simple program to detect movements from a webcam and save videos (program, source code using OpenCV 2.4.2 (build folder corresponds to C:\OpenCV2.4.2) in C/C++ for Visual Studio 2008 SP1 and a Makefile to build also the program for Linux (contains also an example code changing the icon of an OpenCV window on Windows), previous version using OpenCV 2.3.1 and simplified source code using OpenCV 2.3 (build folder corresponds to C:\OpenCV2.3) in C/C++ for Visual Studio 2008 SP1 and Qt Creator).
- GPS data conversions : small program to convert GPS latitude and longitude between decimal degrees, degrees and decimal minutes or degrees, minutes and decimal seconds (setup program and source code in C/C++ for Visual Studio 2008 SP1 (in some cases you might need to remove the .resx file from the project if you upgrade to Visual Studio 2012 to prevent designer errors...)).
- Binary to hexadecimal text file conversion : small program to convert a binary file to a text file with hexadecimal numbers (source code in C/C++ for Visual Studio 2008 SP1 or Linux).
- Chrono : simple command-line chronometer (setup program, source code in C/C++ for Visual Studio 2008 SP1 and a Makefile to build also the program for Linux and simplified source code in C/C++ for Visual Studio 2008 SP1 and Qt Creator).
-
Making 2 TCP servers communicating with the same client and/or spying a TCP communication : this program creates 1 TCP server and 2 TCP clients, the
optional 2nd client acting like a read-only spy (i.e. connected to a write-only spy server), while saving all data in a file (source code in C/C++ for Visual Studio 2008 SP1 and a Makefile to build also the program for Linux, same with UDP).
- Tools to get information and change advanced options of a webcam on Linux, using Video4Linux and Video4Linux 2 : the purpose of these programs is to try to find the best options to get a webcam working on Linux, for example if you have problems using it with OpenCV or VLC, or at least to understand at which step of the webcam configuration you have problems (source code using Video4Linux in C/C++, source code using Video4Linux 2, updated source code and output samples with a webcam Logitech Webcam Pro 9000, an analog audio-video to USB converter VELLEMAN on Ubuntu 10.10, a Raspberry Pi 4 Camera V2.1 on Raspbian Buster). You may also be interested in v4l-utils (after installation, running "export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so" (if using Video4Linux) or "export LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so" (if using Video4Linux 2) before launching an application that wants to use a webcam (disable with "export LD_PRELOAD=" if it does not work) adds new image formats (RGB3...)), by these simple code samples,
the libv4l2wrapper, or this tool to create virtual cameras.
(Microsoft Visual C++ 2008 SP1 Redistributable Package and Microsoft .NET Framework 3.5 Service Pack 1 are sometimes necessary to execute programs built with Visual Studio 2008 SP1)
Back