BitmapToolkit Scol plugin
|
#include <ArFaceMarker.h>
Public Member Functions | |
ArFaceMarker (unsigned int mid, float size) | |
~ArFaceMarker () | |
void | SetImage (const cv::Mat image, std::vector< cv::Rect > objRects) |
bool | detectMotionFlow (cv::Mat &frame) |
bool | IsInitialized () |
void | Update (cv::Mat frame, cv::Mat color, aruco::CameraParameters &camparam, bool reverse) |
ArFaceMarker (unsigned int mid) | |
~ArFaceMarker () | |
void | calculateFeaturedExtrinsics (float markerSize, aruco::CameraParameters &camParams, bool setYPerperdicular=true) throw (cv::Exception) |
void | SetImage (const cv::Mat image, std::vector< cv::Rect > objRects) |
bool | detectMotionFlow (cv::Mat &frame) |
Public Member Functions inherited from ArFeaturedMarker | |
ArFeaturedMarker (std::string filePath, unsigned int nid, float size, unsigned int maxFeatures=600) | |
ArFeaturedMarker (cv::Mat tpl, unsigned int nid, float size, unsigned int maxFeatures=600) | |
ArFeaturedMarker (unsigned int nid, float size) | |
virtual | ~ArFeaturedMarker () |
void | SetTrackedImage (cv::Mat tpl) |
void | RegisterNextFrame (cv::Point point, cv::Size size) |
bool | GetWarpedMarker (cv::Mat &image) |
void | calculateFeaturedExtrinsics (float markerSize, aruco::CameraParameters &camParams, bool setYPerpendicular=true) |
bool | detectFeatured (cv::Mat &frame, cv::Mat &color, cv::Size camsize) |
void | Update (cv::Mat frame, cv::Mat color, aruco::CameraParameters &camparam, bool reverse) |
Public Member Functions inherited from ArMarker | |
ArMarker (unsigned int nid, float markerSize=-1, MarkerType type=AR_ARUCO_MARKER) | |
virtual | ~ArMarker () |
cv::Mat | GetMarkerBitmap (int size) |
void | SetPosition (Vector3 pos) |
void | SetPixelPosition (Vector3 pixelpos) |
void | SetOrientation (BtQuaternion orientation) |
void | Draw (cv::Mat image) |
void | SetCoords (std::vector< cv::Point2f > coords) |
Vector3 | GetPosition () |
Vector3 | GetPixelPosition () |
BtQuaternion | GetOrientation () |
std::vector< cv::Point2f > | GetCorners () |
void | SetSize (float size) |
float | GetSize () |
unsigned int | GetID () |
MarkerType | GetType () |
void | SetVisible (bool visible) |
bool | IsVisible () |
void | Update (ArCameraParam &camparam, aruco::Marker &marker, bool reverse) |
void | rotateXAxis (cv::Mat &rotation) |
Public Attributes | |
std::vector< cv::Point2f > | m_lastCorner |
Public Attributes inherited from ArFeaturedMarker | |
std::vector< cv::Point2f > | m_lastCorner |
Additional Inherited Members | |
Public Types inherited from ArMarker | |
enum | MarkerType { AR_ARUCO_MARKER = 0 , AR_FFT_MARKER = 1 , AR_FACE_MARKER = 2 , AR_ARTK_FFT_MARKER = 3 } |
Protected Attributes inherited from ArFeaturedMarker | |
cv::Mat | m_image |
cv::Mat | m_dmask |
bool | m_lastFound |
std::vector< cv::Point2f > | m_prevFramePoints |
std::vector< cv::Mat > | m_prevPyr |
std::vector< cv::Mat > | m_nextPyr |
Protected Attributes inherited from ArMarker | |
boost::mutex | markerMutex |
boost::mutex | killMutex |
boost::mutex | m_thread_lock |
Vector3 | m_pos |
Vector3 | m_pixel_pos |
BtQuaternion | m_orientation |
bool | m_visible |
bool | m_needUpdate |
float | m_size |
bool | m_bUpdating |
Definition at line 48 of file ArFaceMarker.h.
ArFaceMarker::ArFaceMarker | ( | unsigned int | mid, |
float | size | ||
) |
Definition at line 44 of file ArFaceMarker.cpp.
ArFaceMarker::~ArFaceMarker | ( | ) |
Definition at line 184 of file ArFaceMarker.cpp.
ArFaceMarker::ArFaceMarker | ( | unsigned int | mid | ) |
Definition at line 39 of file ArFaceMarker_patch.cpp.
ArFaceMarker::~ArFaceMarker | ( | ) |
void ArFaceMarker::calculateFeaturedExtrinsics | ( | float | markerSize, |
aruco::CameraParameters & | camParams, | ||
bool | setYPerperdicular = true |
||
) | |||
throw | ( | cv::Exception | |
) |
Definition at line 606 of file ArFaceMarker_patch.cpp.
bool ArFaceMarker::detectMotionFlow | ( | cv::Mat & | frame | ) |
Definition at line 198 of file ArFaceMarker.cpp.
bool ArFaceMarker::detectMotionFlow | ( | cv::Mat & | frame | ) |
bool ArFaceMarker::IsInitialized | ( | ) |
Definition at line 61 of file ArFaceMarker.cpp.
void ArFaceMarker::SetImage | ( | const cv::Mat | image, |
std::vector< cv::Rect > | objRects | ||
) |
Definition at line 66 of file ArFaceMarker.cpp.
void ArFaceMarker::SetImage | ( | const cv::Mat | image, |
std::vector< cv::Rect > | objRects | ||
) |
void ArFaceMarker::Update | ( | cv::Mat | frame, |
cv::Mat | color, | ||
aruco::CameraParameters & | camparam, | ||
bool | reverse | ||
) |
Definition at line 574 of file ArFaceMarker.cpp.
std::vector< cv::Point2f > ArFaceMarker::m_lastCorner |
Definition at line 51 of file ArFaceMarker.h.