BitmapToolkit Scol plugin
|
ArFaceMarker Class Reference
#include <ArFaceMarker.h>
Inheritance diagram for ArFaceMarker:
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 |
Detailed Description
Definition at line 48 of file ArFaceMarker.h.
Constructor & Destructor Documentation
◆ ArFaceMarker() [1/2]
ArFaceMarker::ArFaceMarker | ( | unsigned int | mid, |
float | size | ||
) |
Definition at line 44 of file ArFaceMarker.cpp.
◆ ~ArFaceMarker() [1/2]
ArFaceMarker::~ArFaceMarker | ( | ) |
Definition at line 184 of file ArFaceMarker.cpp.
◆ ArFaceMarker() [2/2]
ArFaceMarker::ArFaceMarker | ( | unsigned int | mid | ) |
Definition at line 39 of file ArFaceMarker_patch.cpp.
◆ ~ArFaceMarker() [2/2]
ArFaceMarker::~ArFaceMarker | ( | ) |
Member Function Documentation
◆ calculateFeaturedExtrinsics()
void ArFaceMarker::calculateFeaturedExtrinsics | ( | float | markerSize, |
aruco::CameraParameters & | camParams, | ||
bool | setYPerperdicular = true |
||
) | |||
throw | ( | cv::Exception | |
) |
Definition at line 606 of file ArFaceMarker_patch.cpp.
◆ detectMotionFlow() [1/2]
bool ArFaceMarker::detectMotionFlow | ( | cv::Mat & | frame | ) |
Definition at line 198 of file ArFaceMarker.cpp.
◆ detectMotionFlow() [2/2]
bool ArFaceMarker::detectMotionFlow | ( | cv::Mat & | frame | ) |
◆ IsInitialized()
bool ArFaceMarker::IsInitialized | ( | ) |
Definition at line 61 of file ArFaceMarker.cpp.
◆ SetImage() [1/2]
void ArFaceMarker::SetImage | ( | const cv::Mat | image, |
std::vector< cv::Rect > | objRects | ||
) |
Definition at line 66 of file ArFaceMarker.cpp.
◆ SetImage() [2/2]
void ArFaceMarker::SetImage | ( | const cv::Mat | image, |
std::vector< cv::Rect > | objRects | ||
) |
◆ Update()
void ArFaceMarker::Update | ( | cv::Mat | frame, |
cv::Mat | color, | ||
aruco::CameraParameters & | camparam, | ||
bool | reverse | ||
) |
Definition at line 574 of file ArFaceMarker.cpp.
Member Data Documentation
◆ m_lastCorner
std::vector< cv::Point2f > ArFaceMarker::m_lastCorner |
Definition at line 51 of file ArFaceMarker.h.
The documentation for this class was generated from the following files:
- include/ArFaceMarker.h
- include/ArFaceMarker_patch.h
- src/ArFaceMarker.cpp
- src/ArFaceMarker_patch.cpp
Generated by 1.9.8