You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
using the perl function, we are trying to run the quoted command, but as you see the quoted function is separated by a "\n" and thus it is interpreted as two different functions.
To resolve this -
You can run the command in one line.
For eg> perl bin/createsamples.pl positives.txt negatives.txt samples 1500 "opencv_createsamples -bgcolor 0 -bgthresh 0 -maxxangle 1.1 -maxyangle 1.1 maxzangle 0.5 -maxidev 40 -w 80 -h 40"
or you can use a line separator such as-
For Linux -
perl bin/createsamples.pl positives.txt negatives.txt samples 1500
"opencv_createsamples -bgcolor 0 -bgthresh 0 -maxxangle 1.1
-maxyangle 1.1 maxzangle 0.5 -maxidev 40 -w 80 -h 40"
For Windows -
perl bin/createsamples.pl positives.txt negatives.txt samples 1500 ^
"opencv_createsamples -bgcolor 0 -bgthresh 0 -maxxangle 1.1 ^
-maxyangle 1.1 maxzangle 0.5 -maxidev 40 -w 80 -h 40"
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when I run: perl bin/createsamples.pl positives.txt negatives.txt samples 1500 "opencv_createsamples -bgcolor 0 -bgthresh 0 -maxxangle 1.1
-maxyangle 1.1 maxzangle 0.5 -maxidev 40 -w 20 -h 20"
The text was updated successfully, but these errors were encountered: