save code
This commit is contained in:
+5
-5
@@ -56,16 +56,16 @@ int main() {
|
||||
InitArg init_arg;
|
||||
Motion motion;
|
||||
motion.type = "4";
|
||||
motion.png_names.push_back("4.png");
|
||||
for (int i = 0; i < 25; ++i)
|
||||
//motion.png_names.push_back("4.png");
|
||||
for (int i = 1; i < 61; ++i)
|
||||
{
|
||||
if (i < 10)
|
||||
{
|
||||
motion.png_names.push_back("00000" + std::to_string(i) + ".png");
|
||||
motion.png_names.push_back("00" + std::to_string(i) + ".png");
|
||||
}
|
||||
else
|
||||
{
|
||||
motion.png_names.push_back("0000" + std::to_string(i) + ".png");
|
||||
motion.png_names.push_back("0" + std::to_string(i) + ".png");
|
||||
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ int main() {
|
||||
//init_arg.motion = motion;
|
||||
|
||||
|
||||
init_arg.action_fps = 10;
|
||||
init_arg.action_fps = 20;
|
||||
init_arg.zoom = 1.5f;
|
||||
|
||||
string json_str = json(init_arg).dump();
|
||||
|
||||
Reference in New Issue
Block a user