Hi @berak ,
it looks same with my modules, here is mine: folder structure.
I find that the cmake instr from opencv/opencv_contrib
cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules <opencv_source_directory>
is different from mine, I don’t have <opencv_source_directory> this part, does that cause a problem?