KowaCamera C++ lib. Software controller for KOWA low-light camera

€200.00

The KowaCamera C++ library version 2.0.0 is a software controller for KOWA camera. The KowaCamera library inherits Camera interface.

LICENSE: We sell source code of this library as is, without future updates and technical support according to perpetual non-exclusive royalty-free license. You pay once and can use this library in your software and hardware products without limits. Please read the license agreement before purchasing: DOWNLOAD LICENSE. You can buy technical support service for this product.

Add To Cart
Technical support service
Options:

Purchase options

You can by this software online by card or you can buy the software by bank transfer. Bank transfer available only for companies. To buy software by bank transfer please send us request to info@constantrobotics.com. Also, you can buy technical support service for this product.

Overview

The KowaCamera C++ library is a software controller for KOWA camera. The KowaCamera library inherits Camera interface. It includes source code of libraries: Camera interface library (provides interface and data structures to control cameras, Apache 2.0 license), Logger logging library (provides function to print log information in console and files, Apache 2.0 license), SerialPort library (provides functions to work with serial ports, Apache 2.0 license). The KowaCamera library provides simple interface to be integrated in any C++ projects. The library repository (folder) provided by source code and doesn't have third-party dependencies to be specially installed in OS. It developed with C++17 standard and compatible with Linux and Windows.

Downloads

Programmer’s manual: DOWNLOAD

Camera control interface

class KowaCamera : public cr::camera::Camera
{
public:

    /// Get Camera class version.
    static std::string getVersion();

    /// Init camera controller.
    bool openCamera(std::string initString) override;
        
    /// Init camera controller by parameters class.
    bool initCamera(CameraParams& params) override;

    /// Close camera serial port.
    void closeCamera() override;

    /// Get camera connection status.
    bool isCameraOpen() override;
        
    /// Get camera open status.
    bool isCameraConnected() override;

    /// Set the camera controller param.
    bool setParam(CameraParam id, float value) override;

    /// Get the camera controller param.
    float getParam(CameraParam id) override;

    /// Get the camera controller params.
    void getParams(CameraParams& params) override;

    /// Execute camera controller action command.
    bool executeCommand(CameraCommand id) override;

    /// Decode and execute command.
    bool decodeAndExecuteCommand(uint8_t* data, int size) override;
};

Simple example

#include <iostream>
#include "KowaCamera.h"

int main(void)
{
    // Init camera controller.
    cr::camera::KowaCamera controller;
    if (!controller.openCamera("/dev/ttyUSB0;9600"))
        return -1;

    while (true)
    {
        // Main dialog.
        int option = -1;
        std::cout << "Options (1:Zoom tele, 2:Zoom wide, 3:Zoom stop), " <<
        "4:Brightness+1, 5:Brightness-1 : ";
        std::cin >> option;

        // Get all camera params.
        cr::camera::CameraParams cameraParams;
        controller.getParams(cameraParams);

        switch (option)
        {
        case 1:
            controller.setParam(cr::camera::CameraParam::BRIGHTNESS,
            cameraParams.brightness + 1);
            break;
        case 2:
            controller.setParam(cr::camera::CameraParam::BRIGHTNESS,
            cameraParams.brightness - 1);
            break;
        default:
            break;
        }
    }
    return 1;
}
FujiSxParser C++ lib. Protocol parser library for Fujinon SX series CCTV cameras.
€200.00
StingrayParser C++ lib. Protocol parser library for Stingray SWIR lenses
€160.00
FujiSxCamera C++ lib. Software controller for Fujinon SX series CCTV cameras.
€400.00
HitachiCamera C++ lib. Software controller for HITACHI CCTV cameras
€300.00
ViscaCamera C++ lib. Software controller for VISCA protocol compatible cameras
€400.00