BoofAndroidDemo | Demonstration of BoofCV for Android devices | Computer Vision library
kandi X-RAY | BoofAndroidDemo Summary
kandi X-RAY | BoofAndroidDemo Summary
Demonstration of BoofCV for Android devices. BoofCV is an open source Java computer vision library. The source code for this application is made freely available without restriction. BoofCV has been released under an Apache 2.0 license.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Override this to render the black square grid
- Render square grid
- Render a circle around a circle
- Render a hexagonal circle
- Converts a disparity image into a cloud image
- Declares data structures
- Finalize the data
- Called when a frame is drawn
- Draws this fragment
- Initializes the Demo
- Initializes the QR Code list
- Create the QR Code
- Initializes the component
- Creates the initial state
- Initialize the disparity view
- Creates a stereo disparity
- Updates the sparse cloud
- Creates configuration object based on disparity type
- Initialize the spinner
- Create the initial state
- Draws a flat cube to the canvas
- On touch event
- Called when the evaluator is pressed
- Initializes the spinner
- Create the dialog
- Initializes the QR Code
BoofAndroidDemo Key Features
BoofAndroidDemo Examples and Code Snippets
Community Discussions
Trending Discussions on BoofAndroidDemo
QUESTION
I'm trying to use the BoofCV line detection with the given example from the BoofCV Android Demo. For this I copied the classes and set everything up with the Camera API from Android. Although the Demo is using the Landscape Orientation, my Activity needs to be in Portrait, but when set the camera is rotated 90° to the left. When I try to set the Camera accordingly, nothing happens. I used:
Camera.setDisplayOrientation(90)
Camera.setParameters("orientation", "portrait")
After a while I figured out that it is not device related (tested on different devices and API levels) and it doesn't have anything to do with the Camera API as well (since I managed to get it in portrait when commenting out the VideoProcessor.init()
function).
After trying it for a while I still can't figure out why the VideoProcessor
keeps rotating the Image to the left...
Here is my code for the VideoProcessor
:
ANSWER
Answered 2017-Oct-13 at 06:33The solution is changing the render function to the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install BoofAndroidDemo
You can use BoofAndroidDemo like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the BoofAndroidDemo component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page