Comments (5)
Hello @iravikiran ,
Please provide a little bit more information on what OpenCV version are you using.
According to the compilation error that you have posted, it looks like "CV_CAP_PROP_FRAME_WIDTH" is not defined.
I'm assuming you are using OpenCV 4+.
You can try two solutions:
- One way is to try out using OpenCV-3.1 version, as mentioned in the requirements.
- The "CV_CAP_PROP_FRAME_WIDTH" in OpenCV4+ is referred as "CAP_PROP_FRAME_WIDTH", you can change the code and try it out.
from openvx_tutorial.
Hi Krishna, Thanks for your response.
Yes, I'm currently using OpenCV version 4.2
I also tried changing to "CAP_PROP_FRAME_WIDTH" in the header code. But still no luck. I'm still facing the error when trying to compile.
In file included from exercise1.cpp:35:0: opencv_camera_display.h: In member function ‘int CGuiModule::GetWidth()’: opencv_camera_display.h:86:33: error: ‘CAP_PROP_FRAME_WIDTH’ was not declared in this scope return (int) m_cap.get( CAP_PROP_FRAME_WIDTH ); ^~~~~~~~~~~~~~~~~~~~ opencv_camera_display.h:86:33: note: suggested alternative: In file included from /usr/local/include/opencv2/highgui.hpp:51:0, from /usr/local/include/opencv2/opencv.hpp:68, from opencv_camera_display.h:33, from exercise1.cpp:35: /usr/local/include/opencv2/videoio.hpp:135:8: note: ‘CAP_PROP_FRAME_WIDTH’ CAP_PROP_FRAME_WIDTH =3, //!< Width of the frames in the video stream. ^~~~~~~~~~~~~~~~~~~~ In file included from exercise1.cpp:35:0: opencv_camera_display.h: In member function ‘void CGuiModule::DrawText(int, int, const char*)’: opencv_camera_display.h:122:87: error: ‘CV_AA’ was not declared in this scope cv::FONT_HERSHEY_COMPLEX_SMALL, 0.8, cv::Scalar( 128, 0, 0 ), 1, CV_AA ); ^~~~~ opencv_camera_display.h:122:87: note: suggested alternative: ‘CV_8U’ cv::FONT_HERSHEY_COMPLEX_SMALL, 0.8, cv::Scalar( 128, 0, 0 ), 1, CV_AA ); ^~~~~ CV_8U
kindly please help me on this, Thanks.
from openvx_tutorial.
Any help with this issue?
Thanks,
from openvx_tutorial.
@iravikiran Did you try using opencv version 3.1 ?
from openvx_tutorial.
Updated the build scripts and README.md to work with OpenVINO/OpenCV. It's in master now. Please re-open the issue if the problem still persists.
from openvx_tutorial.
Related Issues (20)
- application hang when running any exercises/solution/exercises HOT 2
- gui.GetWidth returning 0 HOT 1
- Getting error "‘struct _vx_graph’ has no member named ‘enable_node_level_opencl_flush’" HOT 4
- Copying image data(RGB) from openCV to OpenVX 3d tensor
- Realted to size HOT 9
- What is the License for video sequence PETS09-S1-L1-View001.avi? HOT 3
- openvx sample 1.2 issue not working HOT 1
- Where is argmax.cpp file? HOT 1
- ECCN for openvx
- openvx_sample mistake
- exercixe 1 doesnt show keypoint
- ERROR: agoVerifyGraph: kernel org.khronos.openvx.magnitude: invalid format for argument#2
- Convert C code to OpenVX HOT 1
- vxVerifyGraph HOT 2
- Password of the prebuilt-VM
- make file the exercise error
- Ubuntu-64-OpenVX virtual machine do not works at all
- cv::VideoCapture can not open video(not View001.avi) HOT 1
- Error while building Openvx_tutorial on Jetson TX1 HOT 5
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 openvx_tutorial.