bytedeco/javacv

Missing JavaCameraView library?

Open

#1,229 opened on Jun 9, 2019

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I am working on RTSP client now, I got the frame from my RTSP server, but have no idea how to display it in Android. My idea is to use JavaCameraView and replace the origin data with my processed frame, but I didn't find JavaCameraView in my package(maybe because installation missed that part?), and I tried to use ImageView and doesn't work too.

E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.rtsp, PID: 3254 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.rtsp/com.example.rtsp.MainActivity}: android.view.InflateException: Binary XML file line #9: Binary XML file line #9: Error inflating class org.opencv.android.JavaCameraView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)

Is there any suggestion for display frames to screen in Android?

Contributor guide