Index: trunk/lib/FlairCore/src/FrameworkManager.cpp
===================================================================
--- trunk/lib/FlairCore/src/FrameworkManager.cpp	(revision 122)
+++ trunk/lib/FlairCore/src/FrameworkManager.cpp	(revision 123)
@@ -174,4 +174,7 @@
 }
 
+string FrameworkManager::GetLogPath(void) const {
+	return pimpl_->log_path;
+}
 void FrameworkManager::AddDeviceToLog(IODevice *device) {
   pimpl_->AddDeviceToLog(device);
Index: trunk/lib/FlairCore/src/FrameworkManager.h
===================================================================
--- trunk/lib/FlairCore/src/FrameworkManager.h	(revision 122)
+++ trunk/lib/FlairCore/src/FrameworkManager.h	(revision 123)
@@ -109,4 +109,13 @@
   */
   void SetupLogger(std::string log_path);
+	
+	/*!
+  * \brief Get log path
+  *
+	* get the path defined by SetupLogger
+  *
+  * \return log path
+  */
+  std::string GetLogPath(void) const;
 
   /*!
Index: trunk/lib/FlairSensorActuator/CMakeLists.txt
===================================================================
--- trunk/lib/FlairSensorActuator/CMakeLists.txt	(revision 122)
+++ trunk/lib/FlairSensorActuator/CMakeLists.txt	(revision 123)
@@ -23,7 +23,7 @@
 	${CMAKE_CURRENT_SOURCE_DIR}/src/unexported
 	${CMAKE_CURRENT_SOURCE_DIR}/../FlairCore/src
+	${CMAKE_CURRENT_SOURCE_DIR}/../FlairVisionFilter/src
 	${CMAKE_SYSROOT}/usr/include/opencv
 	${CMAKE_SYSROOT}/usr/include/vrpn
-#	$ENV{IGEP_ROOT}/uav_dev/include
 )
 
Index: trunk/lib/FlairSensorActuator/src/Camera.cpp
===================================================================
--- trunk/lib/FlairSensorActuator/src/Camera.cpp	(revision 122)
+++ trunk/lib/FlairSensorActuator/src/Camera.cpp	(revision 123)
@@ -24,4 +24,5 @@
 #include <DataPlot1D.h>
 #include <Picture.h>
+#include <VisionFilter.h>
 #include <highgui.h>
 #include <fstream>
@@ -118,5 +119,6 @@
 			case LogFormat::JPG:
 					IplImage *img=((cvimage*)data)->img;
-					//dspSaveToJpeg(img,"toto");
+					string filename=getFrameworkManager()->GetLogPath()+"/"+ObjectName()+"_"+std::to_string(data->DataTime())+".jpg";
+					saveToJpeg(img,filename);
 				break;
 		}
Index: trunk/lib/FlairVisionFilter/CMakeLists.txt
===================================================================
--- trunk/lib/FlairVisionFilter/CMakeLists.txt	(revision 122)
+++ trunk/lib/FlairVisionFilter/CMakeLists.txt	(revision 123)
@@ -21,4 +21,5 @@
 	${LIBXML2_INCLUDE_DIR}
 	${CMAKE_CURRENT_SOURCE_DIR}/src
+	${CMAKE_CURRENT_SOURCE_DIR}/src/unexported
 	$ENV{FLAIR_ROOT}/flair-src/lib/FlairCore/src
 	${CMAKE_SYSROOT}/usr/include/opencv
Index: trunk/lib/FlairVisionFilter/src/VisionFilter.cpp
===================================================================
--- trunk/lib/FlairVisionFilter/src/VisionFilter.cpp	(revision 123)
+++ trunk/lib/FlairVisionFilter/src/VisionFilter.cpp	(revision 123)
@@ -0,0 +1,22 @@
+#include "VisionFilter.h"
+#include "compile_info.h"
+#include <highgui.h>
+
+static void constructor() __attribute__((constructor));
+
+void constructor() {
+  compile_info("FlairVisionFilter");
+}
+
+void saveToJpeg(IplImage* src_img,std::string filename,unsigned char compression_level) {
+	if(!cvSaveImage(filename.c_str(),src_img)) printf("Could not save.\n");
+}
+
+bool InitVisionFilter(std::string args) {
+  printf("Using default vision lib filter, all functions are not ready!\n");
+	return true;
+}
+
+void CloseVisionFilter(void) {
+  
+}
Index: trunk/lib/FlairVisionFilter/src/VisionFilter.h
===================================================================
--- trunk/lib/FlairVisionFilter/src/VisionFilter.h	(revision 123)
+++ trunk/lib/FlairVisionFilter/src/VisionFilter.h	(revision 123)
@@ -0,0 +1,14 @@
+#include <string>
+#include <cxtypes.h>
+
+/*!
+* \brief InitVisionFilter
+*
+* \return true
+*/
+
+bool InitVisionFilter(std::string args);
+
+void CloseVisionFilter(void);
+
+void saveToJpeg(IplImage* src_img,std::string filename,unsigned char compression_level=95);
Index: trunk/lib/FlairVisionFilter/src/init.cpp
===================================================================
--- trunk/lib/FlairVisionFilter/src/init.cpp	(revision 122)
+++ 	(revision )
@@ -1,10 +1,0 @@
-#include "init.h"
-
-
-void SetupDSP(std::string file,int globalTimeoutMs) {
-    
-}
-
-void CloseDSP(void) {
-  
-}
Index: trunk/lib/FlairVisionFilter/src/init.h
===================================================================
--- trunk/lib/FlairVisionFilter/src/init.h	(revision 122)
+++ 	(revision )
@@ -1,16 +1,0 @@
-#include <string>
-
-/*!
-* \brief DSP setup
-*
-* Setup DSP executable file. \n
-* If this method is not called, no DSP processing will be available. \n
-*
-* \param file DSP executable file
-* \param globalTimeoutMs timeout for all DSP functions, in ms (timeout is only
-* used to display a warning. -1 to disable timeout
-*/
-void SetupDSP(std::string file,int globalTimeoutMs=-1);
-
-
-void CloseDSP(void);
Index: trunk/lib/FlairVisionFilter/src/unexported/compile_info.h
===================================================================
--- trunk/lib/FlairVisionFilter/src/unexported/compile_info.h	(revision 122)
+++ trunk/lib/FlairVisionFilter/src/unexported/compile_info.h	(revision 123)
@@ -5,9 +5,9 @@
 
 #define USER "gsanahuj@gsanahuj-Latitude-E6420"
-#define DATE "vendredi 6 janvier 2017, 12:43:09 (UTC+0100)"
+#define DATE "mardi 10 janvier 2017, 15:56:33 (UTC+0100)"
 #define GCC_REV "4.9.1"
 #define GCC_PATH "/opt/robomap3/1.7.3/armv7a-neon/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc"
 #define SVN_PATH "/home/gsanahuj/HDS/igep/flair-src_svn/trunk/lib/FlairVisionFilter"
-#define SVN_REV "Ajout, copie ou déplacement local non propagé"
+#define SVN_REV "122M"
 
 inline void compile_info(std::string name) { 
