Building calib3d in OpenCV.js
Hello,
I would like to use SolvePnP in javascript, But currently i cant make it work :(
im using 3.3.1 and following the intruction to build openCV.js from the official page.
SolvePnp is in calib3d module, and this module isnt compiled by default in javascript. So i set calib3d to ON in build_js.py. The same with features2d, which seems to be a dependancy of calib3d. The build config report them as 'to be build'.
-- OpenCV modules:
-- To be built: core imgproc objdetect video features2d js calib3d
-- Disabled: flann highgui imgcodecs ml photo shape stitching superres videoio videostab world
-- Disabled by dependency: -
-- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 ts viz
But calib3d is never compiled. No matter the ON/OFF i put it only build core/imgproc/objdetect/video ... nothing more.
jerome@jmemac:~/Downloads/opencvjs-test/opencv-3.3.1/build_js/lib$ ls -l
total 30528
-rw-r--r-- 1 jerome staff 6418036 Dec 15 17:04 libopencv_core.a
-rw-r--r-- 1 jerome staff 7498700 Dec 15 17:04 libopencv_imgproc.a
-rw-r--r-- 1 jerome staff 830352 Dec 15 17:04 libopencv_objdetect.a
-rw-r--r-- 1 jerome staff 877608 Dec 15 17:04 libopencv_video.a
Any hint on how to get SolvePnP in javascript ? im super new at opencv
be so kind, and replace the screenshots with TEXT , thank you !
i will gladly do it, but how can i copy a text verbatim ?
Is there a documentation on how to do it ? (the > blockquote from the UI doesnt seems to work)
usually , marking the text, and pressing the "10101" button (format as code) does the trick.
we can also help you with the formatting. screenshots are just bad, because they can't be properly indexed for search, or c/p for quoting things.
Done, thanks for your help!