libv4l 0.5.2 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News libv4l 0.5.2 (Default branch)
# 1  
Old 10-23-2008
libv4l 0.5.2 (Default branch)

libv4l is a collection of libraries that adds a thin abstraction layer on top of video4linux2 (V4L2) devices. The purpose of this layer is to make it easy for application writers to support a wide variety of devices without having to write separate code for different devices in the same class. It consists of 3 different libraries. libv4lconvert offers functions to convert from any (known) pixel format to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420. libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent of the drivers for those devices supporting v4l1 compatibility (which many v4l2 drivers do not). libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the application transparent libv4lconvert conversion where necessary. License: GNU Lesser General Public License (LGPL) Changes:
A workaround was introduced for some drivers' (notably pwc's) inconsistency in V4L's s_fmt() versus try_fmt() return values. Other minor improvements were made. Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
FANN_SET_ACTIVATION_FUNCTION(3) 					 1					   FANN_SET_ACTIVATION_FUNCTION(3)

fann_set_activation_function - Sets the activation function for supplied neuron and layer

SYNOPSIS
bool fann_set_activation_function (resource $ann, int $activation_function, int $layer, int $neuron) DESCRIPTION
Set the activation function for neuron number neuron in layer number layer, counting the input layer as layer 0. It is not possible to set activation functions for the neurons in the input layer. When choosing an activation function it is important to note that the activation functions have different range. FANN_SIGMOID is e.g. in the 0 - 1 range while FANN_SIGMOID_SYMMETRIC is in the -1 - 1 range and FANN_LINEAR is unbound. The supplied activation_function value must be one of the activation functions constants. The return value is one of the activation functions constants. PARAMETERS
o $ann -Neural network resource. o $activation_function - The activation functions constant. o $layer - Layer number. o $neuron - Neuron number. RETURN VALUES
Returns TRUE on success, or FALSE otherwise. SEE ALSO
fann_set_activation_function_layer(3), fann_set_activation_function_hidden(3), fann_set_activation_function_output(3), fann_set_activa- tion_steepness(3), fann_get_activation_function(3). PHP Documentation Group FANN_SET_ACTIVATION_FUNCTION(3)