Giter Club home page Giter Club logo

androidopencvcamera's People

Contributors

j0nreynolds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

androidopencvcamera's Issues

Exception: "java.lang.ClassNotFoundException: org.opencv.android.CameraGLSurfaceView$CameraTextureListener"

Hello. When i open activity.xml file and preview it, error occured

Rendering Problems The following classes could not be instantiated:
- net.jonreynolds.androidopencvcamera.MyGLSurfaceView (Open Class, Show Exception, Clear Cache)
 Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the
 IDE.  
If this is an unexpected error you can also try to build the project, then manually refresh the layout.  
Exception Details
 java.lang.ClassNotFoundException: org.opencv.android.CameraGLSurfaceView$CameraTextureListener 
Copy stack to clipboard

I cleaned project and deleted cache but it is not working
How to fix it. Thanks

The play button is missing

I already followed the instruction but Android Studio does not show the play or run button as follows.

43670862-34474606-97bb-11e8-86f1-19c3595b486d

I used Windows 10, Android Studio, and OpenCV Android SDK with the latest version.

Include opencv libs & avoid absolute path?

Hi, thanks for your sharing. This is a great project. However, when I was using it, I found several places that can make it even better. Firstly, I think you can include the opencv module in this repo, so that people don't need to download it and link it again. Secondly, in CMakeList.txt, the project path and opencv path is absolute paths (/Users/jonathanreynolds/Documents/Projects/OpenCV-android-sdk). For newbies, this may be confusing. Thirdly, the libopencvjava3.so can also be included in the repo. Therefore, newbies won't need any extra effort to load it on a phone immediately.

Thanks for your sharing again!

How to turn on camera preview portrait mode

Hello. Thanks for your project demo.
How to turn on camera preview portrait mode
Preview mode default is LANDSCAPE.

image

But error occured when i comment this line
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
Or change to
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

I need to do use portrait mode like this

image

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.