Ask Your Question

JohnnyWang's profile - activity

2020-06-19 02:37:47 -0600 received badge  Enthusiast
2019-01-23 05:05:02 -0600 answered a question How to fix the issue about cvCreateCameraCapture

I fix the issue by chmod 666 /dev/videoX

2018-12-26 20:52:31 -0600 commented question How to fix the issue about cvCreateCameraCapture

target platform have no su, and no root.

2018-12-26 20:25:21 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to fix the issue about cvCreateCameraCapture I have built opencv(with ffmpeg) for android arm64-v8a successfully, ho

2018-12-26 20:24:40 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to fix the issue about cvCreateCameraCapture I have built opencv(with ffmpeg) for android arm64-v8a successfully, ho

2018-12-26 20:23:28 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to fix the issue about cvCreateCameraCapture I have built opencv(with ffmpeg) for android arm64-v8a successfully, ho

2018-12-26 20:20:15 -0600 commented question How to fix the issue about cvCreateCameraCapture

Ohh, if i use cv::VideoCapture, the same issue may occur.

2018-12-26 20:18:56 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to fix the issue about cvCreateCameraCapture I have built opencv(with ffmpeg) for android arm64-v8a successfully, ho

2018-12-26 02:28:53 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to fix the issue about cvCreateCameraCapture I have built opencv(with ffmpeg) for android arm64-v8a successfully, ho

2018-12-26 02:28:29 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to compile opencv to support camera(cvCreateCameraCapture) I have built opencv(with ffmpeg) for android arm64-v8a su

2018-12-26 02:27:14 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to compile opencv to support camera(cvCreateCameraCapture) I have built opencv(with ffmpeg) for android arm64-v8a su

2018-12-19 04:44:38 -0600 commented question How to fix the issue about cvCreateCameraCapture

Update latest status

2018-12-19 04:44:11 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to compile opencv to support camera(cvCreateCameraCapture) I have built opencv(with ffmpeg) for android arm64-v8a su

2018-12-19 02:41:43 -0600 commented question How to fix the issue about cvCreateCameraCapture

I would like to add all necessary dependency to my project. So what dependency is lost?so that videoio.h is not found.

2018-12-19 02:15:38 -0600 commented question How to fix the issue about cvCreateCameraCapture

I would like to add all necessary dependency to my project. So what dependency is lost so that videoio.h is not found.

2018-12-19 02:13:31 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to compile opencv to support camera(cvCreateCameraCapture) I have built opencv(with ffmpeg) for android arm64-v8a su

2018-12-19 01:58:27 -0600 commented question How to fix the issue about cvCreateCameraCapture

cv::VideoCapture is implented by those c-api functions, so those c-api functions still work. I do not want to modify sou

2018-12-18 22:25:05 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to compile opencv(with ffmpeg) for android arm64-v8a I have built opencv(with ffmpeg) for android arm64-v8a successf

2018-12-18 22:24:58 -0600 edited question How to fix the issue about cvCreateCameraCapture

How to compile opencv(with ffmpeg) for android arm64-v8a I have built opencv(with ffmpeg) for android arm64-v8a successf

2018-12-10 19:33:31 -0600 commented question OpenCV 2.4.11 NDK arm64-v8a x86_64

I am new to this forum. I am sorry~

2018-12-10 19:20:36 -0600 asked a question How to fix the issue about cvCreateCameraCapture

How to compile opencv(with ffmpeg) for android arm64-v8a My app’s ANDROID_ABI is arm64-v8a, we need capture a frame from

2018-12-10 18:36:45 -0600 marked best answer Android platform, cvCreateFileCapture return null

IDE: Android studio

Source code: Java + JNI + C

I would like to use cvCreateFileCapture in c section. However, cvCreateFileCapture return null.

Is it possible to use cvCreateFileCapture for opencv343 in android platform? if so, which source code is incorrect?

key source code is as below,

sint32 daOpenAVI_OpenCV( const char* filename )
{
    opencv_capture = cvCreateFileCapture(filename);
    if( !opencv_capture ) {
        return -1;
    }
    return 0;
}

Cmakelist.txt

set(libs "${PROJECT_SOURCE_DIR}/../../jniLibs")

add_library(libopencv_java3 SHARED IMPORTED ) set_target_properties(libopencv_java3 PROPERTIES IMPORTED_LOCATION "${libs}/libs/${ANDROID_ABI}/libopencv_java3.so")

add_library(libopencv_calib3d STATIC IMPORTED ) set_target_properties(libopencv_calib3d PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_calib3d.a")

add_library(libopencv_core STATIC IMPORTED ) set_target_properties(libopencv_core PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_core.a")

add_library(libopencv_features2d STATIC IMPORTED ) set_target_properties(libopencv_features2d PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_features2d.a")

add_library(libopencv_flann STATIC IMPORTED ) set_target_properties(libopencv_flann PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_flann.a")

add_library(libopencv_highgui STATIC IMPORTED ) set_target_properties(libopencv_highgui PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_highgui.a")

add_library(libopencv_imgcodecs STATIC IMPORTED ) set_target_properties(libopencv_imgcodecs PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_imgcodecs.a")

add_library(libopencv_imgproc STATIC IMPORTED ) set_target_properties(libopencv_imgproc PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_imgproc.a")

add_library(libopencv_ml STATIC IMPORTED ) set_target_properties(libopencv_ml PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_ml.a")

add_library(libopencv_objdetect STATIC IMPORTED ) set_target_properties(libopencv_objdetect PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_objdetect.a")

add_library(libopencv_photo STATIC IMPORTED ) set_target_properties(libopencv_photo PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_photo.a")

add_library(libopencv_shape STATIC IMPORTED ) set_target_properties(libopencv_shape PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_shape.a")

add_library(libopencv_stitching STATIC IMPORTED ) set_target_properties(libopencv_stitching PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_stitching.a")

add_library(libopencv_superres STATIC IMPORTED ) set_target_properties(libopencv_superres PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_superres.a")

add_library(libopencv_video STATIC IMPORTED ) set_target_properties(libopencv_video PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_video.a")

add_library(libopencv_videoio STATIC IMPORTED ) set_target_properties(libopencv_videoio PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_videoio.a")

add_library(libopencv_videostab STATIC IMPORTED ) set_target_properties(libopencv_videostab PROPERTIES IMPORTED_LOCATION "${libs}/staticlibs/${ANDROID_ABI}/libopencv_videostab.a")

... target_link_libraries( ${PROJECT_NAME} ${SERVICE_USED_LIBS} -L${PROJECT_SOURCE_DIR}/../libs/${ANDROID_ABI} -L${PROJECT_SOURCE_DIR}/../../jniLibs/libs/${ANDROID_ABI} opencv_java3 libopencv_calib3d libopencv_core libopencv_features2d libopencv_flann libopencv_highgui libopencv_imgcodecs libopencv_imgproc libopencv_ml libopencv_objdetect libopencv_photo libopencv_shape libopencv_stitching libopencv_superres libopencv_video libopencv_videoio libopencv_videostab avcodec avfilter avformat avutil fdk-aac swresample swscale ffmpeg


2018-12-10 18:36:45 -0600 received badge  Scholar (source)
2018-12-10 06:14:40 -0600 answered a question OpenCV 2.4.11 NDK arm64-v8a x86_64

Who did complied the opencv with ffmpeg for android arm64-v8a? I need it also.... Need help

2018-12-04 01:17:50 -0600 commented answer Android platform, cvCreateFileCapture return null

Thank you very much. I will try it.

2018-12-04 01:11:03 -0600 commented answer Android platform, cvCreateFileCapture return null

you would have to build ffmpeg libs locally for android, and rebuild the opencv sdk with those. Got it, this

2018-12-04 00:52:24 -0600 commented answer Android platform, cvCreateFileCapture return null

Yes, the format of video file is AVI. I have add the dependency(ffmpeg) to target file. it should be OK, isn't it? i wil

2018-12-04 00:34:08 -0600 received badge  Editor (source)
2018-12-04 00:34:08 -0600 edited question Android platform, cvCreateFileCapture return null

Android platform, cvCreateFileCapture return null IDE: Android studio Source code: Java + JNI + C I would like to use

2018-12-04 00:32:09 -0600 asked a question Android platform, cvCreateFileCapture return null

Android platform, cvCreateFileCapture return null IDE: Android studio Source code: Java + JNI + C I would like to use