Changeset 123 in flair-src for trunk/lib/FlairSensorActuator


Ignore:
Timestamp:
Jan 10, 2017, 3:56:53 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

vision filter

Location:
trunk/lib/FlairSensorActuator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/CMakeLists.txt

    r45 r123  
    2323        ${CMAKE_CURRENT_SOURCE_DIR}/src/unexported
    2424        ${CMAKE_CURRENT_SOURCE_DIR}/../FlairCore/src
     25        ${CMAKE_CURRENT_SOURCE_DIR}/../FlairVisionFilter/src
    2526        ${CMAKE_SYSROOT}/usr/include/opencv
    2627        ${CMAKE_SYSROOT}/usr/include/vrpn
    27 #       $ENV{IGEP_ROOT}/uav_dev/include
    2828)
    2929
  • trunk/lib/FlairSensorActuator/src/Camera.cpp

    r122 r123  
    2424#include <DataPlot1D.h>
    2525#include <Picture.h>
     26#include <VisionFilter.h>
    2627#include <highgui.h>
    2728#include <fstream>
     
    118119                        case LogFormat::JPG:
    119120                                        IplImage *img=((cvimage*)data)->img;
    120                                         //dspSaveToJpeg(img,"toto");
     121                                        string filename=getFrameworkManager()->GetLogPath()+"/"+ObjectName()+"_"+std::to_string(data->DataTime())+".jpg";
     122                                        saveToJpeg(img,filename);
    121123                                break;
    122124                }
Note: See TracChangeset for help on using the changeset viewer.