| | |
| | | ::FaceDetect::FaceAngle fAngle; |
| | | int nQuality; |
| | | ::FaceDetect::Data pFacialData; |
| | | long long int pfaceId; |
| | | |
| | | std::tuple<const ::FaceDetect::RECT&, const ::FaceDetect::POINT&, const ::FaceDetect::POINT&, const ::FaceDetect::POINT&, const ::FaceDetect::POINT&, const ::FaceDetect::FaceAngle&, const int&, const ::FaceDetect::Data&> ice_tuple() const |
| | | std::tuple<const ::FaceDetect::RECT&, const ::FaceDetect::POINT&, const ::FaceDetect::POINT&, const ::FaceDetect::POINT&, const ::FaceDetect::POINT&, const ::FaceDetect::FaceAngle&, const int&, const ::FaceDetect::Data&, const long long int&> ice_tuple() const |
| | | { |
| | | return std::tie(rcFace, ptLeftEye, ptRightEye, ptMouth, ptNose, fAngle, nQuality, pFacialData); |
| | | return std::tie(rcFace, ptLeftEye, ptRightEye, ptMouth, ptNose, fAngle, nQuality, pFacialData, pfaceId); |
| | | } |
| | | }; |
| | | |
| | |
| | | struct StreamableTraits<::FaceDetect::FacePos> |
| | | { |
| | | static const StreamHelperCategory helper = StreamHelperCategoryStruct; |
| | | static const int minWireSize = 69; |
| | | static const int minWireSize = 77; |
| | | static const bool fixedLength = false; |
| | | }; |
| | | |
| | |
| | | { |
| | | static void read(S* istr, ::FaceDetect::FacePos& v) |
| | | { |
| | | istr->readAll(v.rcFace, v.ptLeftEye, v.ptRightEye, v.ptMouth, v.ptNose, v.fAngle, v.nQuality, v.pFacialData); |
| | | istr->readAll(v.rcFace, v.ptLeftEye, v.ptRightEye, v.ptMouth, v.ptNose, v.fAngle, v.nQuality, v.pFacialData, v.pfaceId); |
| | | } |
| | | }; |
| | | |
| | |
| | | ::FaceDetect::FaceAngle fAngle; |
| | | ::Ice::Int nQuality; |
| | | ::FaceDetect::Data pFacialData; |
| | | ::Ice::Long pfaceId; |
| | | }; |
| | | |
| | | typedef ::std::vector< ::FaceDetect::FacePos> Faces; |
| | |
| | | struct StreamableTraits< ::FaceDetect::FacePos> |
| | | { |
| | | static const StreamHelperCategory helper = StreamHelperCategoryStruct; |
| | | static const int minWireSize = 69; |
| | | static const int minWireSize = 77; |
| | | static const bool fixedLength = false; |
| | | }; |
| | | |
| | |
| | | ostr->write(v.fAngle); |
| | | ostr->write(v.nQuality); |
| | | ostr->write(v.pFacialData); |
| | | ostr->write(v.pfaceId); |
| | | } |
| | | }; |
| | | |
| | |
| | | istr->read(v.fAngle); |
| | | istr->read(v.nQuality); |
| | | istr->read(v.pFacialData); |
| | | istr->read(v.pfaceId); |
| | | } |
| | | }; |
| | | |