Running the OpenCV Template Matching Sample
Steps:
NOTE: These instructions assume you are building on the target system. If you are building on the development system, you need to move the binaries to the target system in order to run them.
- Place a BitMap image of the template you wish to match on the RTX64 Vision target machine.
- Open the MatchTemplate sample in Visual Studio.
- Edit MatchTemplate.cpp and change the path on line 92, where the imread() function is called, to the path of the BitMap file.
- Build the MatchTemplate sample using the RtssRelease or RtssDebug configuration.
NOTE: To view the captured and processed images in a Windows GUI, do the following:
- Build the RtGigE_Show sample in Release or Debug
- Run RtGigE_Show.exe
- Use RtssRun to run the MatchTemplate.rtss application.