Ask Your Question

Revision history [back]

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.

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'.

image description

But calib3d is never compiled. No matter the ON/OFF i put it only build core/imgproc/objdetect/video ... nothing more.

image description

Any hint on how to get SolvePnP in javascript ? im super new at opencv

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.

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'.

image description

But calib3d is never compiled. No matter the ON/OFF i put it only build core/imgproc/objdetect/video ... nothing more.

image description

/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

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.

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'.

image description

But calib3d is never compiled. No matter the ON/OFF i put it only build core/imgproc/objdetect/video ... nothing more.

image description

/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

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.

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'.

image description

--   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.

image description

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

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