Skip to content

Commit

Permalink
test building of image seq string
Browse files Browse the repository at this point in the history
  • Loading branch information
hn-88 authored Apr 5, 2024
1 parent 1d13dde commit af30ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OCVWarp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ int main(int argc,char *argv[])
}else {
std::string::size_type last_num_pos = test.find_last_of("0123456789");
std::cout << "last num pos is " << last_num_pos << std::endl;
std::cout << "Im seq " << test.substr(last_char_pos, last_num_pos - last_char_pos) << std::endl;
std::cout << "Im seq " << base + "%0" + std::to_string(last_num_pos - last_char_pos) + "d" + test.substr(pAt) << std::endl;
}
}
// reference:
Expand Down

0 comments on commit af30ea9

Please sign in to comment.