mirror of
https://github.com/bspeice/libcvautomation
synced 2025-07-01 13:56:49 -04:00
Add functions to return the center of a sub-image, rather than top-left corner
Fix up the build process to make sure out-of-tree builds work correctly Fix the example script not finding the cva-match binary correctly
This commit is contained in:
@ -19,10 +19,10 @@
|
||||
# REVISION: ---
|
||||
#===============================================================================
|
||||
|
||||
CVAMATCH="`dirname $0`/../bin/cva-match"
|
||||
CVAMATCH=`which cva-match`
|
||||
|
||||
if [ ! -x $CVAMATCH ]; then
|
||||
echo "The cva-match binary was not found or is not executable. Please fix this!"
|
||||
if [ ! -x "$CVA_MATCH" ]; then
|
||||
echo "Could not find the cva-match binary! Can't continue..."
|
||||
exit 255
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user