houxiao
2017-02-13 0688756b71b40e0ac60c68af2fa1fe4aaeb1718d
RtspFace/main_dump_st_face.cpp
@@ -44,7 +44,7 @@
      bool ret = rtspClient->init(&rtspConfig);
      if (!ret)
      {
         LOG_ERROR << "rtspClient.init error";
         LOG_ERROR << "rtspClient.init error" << std::endl;
         exit(EXIT_FAILURE);
      }
   }
@@ -54,7 +54,7 @@
      bool ret = h264Decoder->init(nullptr);
      if (!ret)
      {
         LOG_ERROR << "PL_H264Decoder.init error";
         LOG_ERROR << "PL_H264Decoder.init error" << std::endl;
         exit(EXIT_FAILURE);
      }
   }
@@ -64,7 +64,7 @@
      bool ret = avFrameYUV420->init(nullptr);
      if (!ret)
      {
         LOG_ERROR << "PL_AVFrameYUV420.init error";
         LOG_ERROR << "PL_AVFrameYUV420.init error" << std::endl;
         exit(EXIT_FAILURE);
      }
   }
@@ -77,7 +77,7 @@
      bool ret = ple->init(&config);
      if (!ret)
      {
         LOG_ERROR << "PL_Scale.init error";
         LOG_ERROR << "PL_Scale.init error" << std::endl;
         exit(EXIT_FAILURE);
      }
   }
@@ -92,7 +92,7 @@
   while(true)
   {
      //LOG_ERROR << "begin pipe";
      //LOG_ERROR << "begin pipe" << std::endl;
      
      PipeMaterial pm;
      if (pipeLine.pipe(&pm) == sensetimeFaceTrack);
@@ -102,9 +102,9 @@
      {
         PipeMaterial& facePM = ((PipeMaterial*)(pm.buffer))[1];
         st_ff_vect_t& faceFeatures = *((st_ff_vect_t*)facePM.buffer);
         LOG_NOTICE << "faceFeatures " << faceFeatures.size();
         LOG_NOTICE << "faceFeatures " << faceFeatures.size() << std::endl;
      }
      
      //LOG_ERROR << "end pipe";
      //LOG_ERROR << "end pipe" << std::endl;
   }
}