-
Notifications
You must be signed in to change notification settings - Fork 15
Create Your Own Project
https://github.com/asolis/vivaVideo
While developing your project you might want to add files to your vivaVideo clone project. Although you can use your IDE to add files to the project, this is NOT recommended. This makes your project dependent of your Development Environment and difficult to share your solution. Instead you should add the files to your working copy folder and let CMake to regenerate the project.
To accomplish this, you need to add your ".h" and ".cpp" files in the root of your cloned repository (e.g. /Users/username/vivaVideo/), at the same level of the existing main.cpp file.
The specified CMake rules in vivaVideo base project will list and include files with ".h" and ".cpp" extensions and add them to your project solution.
The vivaVideo links the following OpenCV libraries:
- opencv_video
- opencv_ts
- opencv_imgproc
- opencv_highgui
- opencv_features2d
- opencv_core
If you need to link to more OpenCV libraries you should modify the following lines from the CMakeLists.txt file at the root of your working copy.
set(OpenCV_LIBRARIES "opencv_video;opencv_ts;opencv_imgproc;opencv_highgui;opencv_features2d;opencv_core;")
Rebuild the project using the CMake tool.
Modify the CMakeLists.txt file at the root of your clone project.
Look for the following lines and replace the project's name.
# define the project name
set(project_name "vivaVideo")
Rebuild the project using the CMake tool.
- Batch Processing
- Select an Input Device
- Select an Output Device
- Handling Mouse and Keyboard Events
- Channel Buffer size
- Create your own Input Class
- Create your own Output Class
- Create your own Project
- UML Class Diagram
-
API Reference
- Processor Class
- BatchProcessor Class
- Input Class
- Ouput Class
- ProcessFrame Class
- BatchProcessFrame Class
- MouseListener and KeyboardListener Classes