Advertisement
Guest User

Untitled

a guest
May 27th, 2015
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. #define DETECTION_EXTRACT_SOURCE(type) ( ((type)>>16) & 0x0FF )
  2. #define DETECTION_EXTRACT_TAG(type) ( (type) & 0x0FF )
  3.  
  4. typedef enum
  5. {
  6. DETECTION_SOURCE_CAMERA_HORIZONTAL=0, /*<! Tag was detected on the front camera picture */
  7. DETECTION_SOURCE_CAMERA_VERTICAL, /*<! Tag was detected on the vertical camera picture at full speed */
  8. DETECTION_SOURCE_CAMERA_VERTICAL_HSYNC, /*<! Tag was detected on the vertical camera picture inside the horizontal pipeline */
  9. DETECTION_SOURCE_CAMERA_NUM,
  10. } DETECTION_SOURCE_CAMERA;
  11.  
  12. typedef enum
  13. {
  14. TAG_TYPE_NONE = 0,
  15. TAG_TYPE_SHELL_TAG ,
  16. TAG_TYPE_ROUNDEL ,
  17. TAG_TYPE_ORIENTED_ROUNDEL ,
  18. TAG_TYPE_STRIPE ,
  19. TAG_TYPE_CAP ,
  20. TAG_TYPE_SHELL_TAG_V2 ,
  21. TAG_TYPE_TOWER_SIDE ,
  22. TAG_TYPE_BLACK_ROUNDEL ,
  23. TAG_TYPE_NUM
  24. } TAG_TYPE;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement