Problem with using ArUco + python
I am trying to use ArUco library with opencv. I have installed OpenCV 3.1 on ubuntu, opencv contrib and compiled both. When I do help(cv2.aruco), the functions are not listed. This is the output -
Help on module cv2.aruco in cv2:
NAME
cv2.aruco
FILE
(built-in)
DATA
DICT_4X4_100 = 1
DICT_4X4_1000 = 3
DICT_4X4_250 = 2
DICT_4X4_50 = 0
DICT_5X5_100 = 5
DICT_5X5_1000 = 7
DICT_5X5_250 = 6
DICT_5X5_50 = 4
DICT_6X6_100 = 9
DICT_6X6_1000 = 11
DICT_6X6_250 = 10
DICT_6X6_50 = 8
DICT_7X7_100 = 13
DICT_7X7_1000 = 15
DICT_7X7_250 = 14
DICT_7X7_50 = 12
DICT_ARUCO_ORIGINAL = 16
Further, if I try using those functions, I hit errors like this -
aruco_dict = aruco.Dictionary_get(aruco.DICT_5X5_250)
AttributeError: 'module' object has no attribute 'Dictionary_get'
How do I generate markers and detect the same in python?
please update both opencv and opencv_contrib to latest master, rebuild, and try again.
done, issue not resolved