Comments (4)
You're using EasyOpenCV 1.3 or higher, but still using sample code from <= 1.2.
1.3 had an API change which changes how cameras are instantiated.
from easyopencv.
Thanks FROGbots, I changed to 1.2
from easyopencv.
That's a valid solution, although you lose access to the new features provided by 1.3..... all you need to do is change it to be:
phoneCam = OpenCvCameraFactory.getInstance().createInternalCamera(OpenCvInternalCamera.CameraDirection.BACK, cameraMonitorViewId);
from easyopencv.
In the future we should avoid having breaking changes in minor version updates.
from easyopencv.
Related Issues (20)
- OpMode crashes on initialization when creating `OpenCvCamera` HOT 2
- possible to setZoom for web camera? HOT 3
- Camera Stream Display Rotated 90° to the Left HOT 3
- How to set camera resolution? HOT 1
- Code Crashes Upon Run on FTC Control Hub HOT 11
- FTC Robot Controller App Crashes HOT 4
- Disconnecting and reconnecting a webcam causes failures HOT 11
- When I switch the pipeline, the robot sometimes stops. HOT 8
- 1.5.3 - duplicate class... HOT 4
- False memory leak warning HOT 12
- Splitting viewport seems to not work... HOT 3
- startStreaming() does not send frames to processFrame() after a call to stopStreaming() HOT 2
- App crashes on loading library after upgrade to 1.6.2 and apriltag 1.1.1 HOT 12
- onViewportTapped in StageSwitchingPipeline is never called HOT 1
- Streaming in driver hub HOT 1
- Error in OpenCvCameraBase crashes usages of VisionPortal in sdk 9.0 HOT 7
- Cannot upload aar file to onbot java of FtcRobotController 9.0 HOT 7
- Camera slow to load HOT 8
- CameraFactory does not work after updates HOT 8
- Getting repeated occasions of "Viewport container specified by user is not empty!" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyopencv.