Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fps setting #531

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
formatting
  • Loading branch information
Nikita Lebedev committed Mar 19, 2020
commit f0afa7eb3607ed97a997021c14ba5bba252961d0
2 changes: 1 addition & 1 deletion examples/detectnet-camera/detectnet-camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ int usage()
printf(" by default, MIPI CSI camera 0 will be used.\n");
printf(" --width WIDTH desired width of camera stream (default is 1280 pixels)\n");
printf(" --height HEIGHT desired height of camera stream (default is 720 pixels)\n");
printf(" --fps FPS desired FPS of camera stream (default is 30)\n");
printf(" --fps FPS desired FPS of camera stream (default is 30)\n");
printf(" --threshold VALUE minimum threshold for detection (default is 0.5)\n\n");

printf("%s\n", detectNet::Usage());
Expand Down
2 changes: 1 addition & 1 deletion examples/homography-camera/homography-camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ int main( int argc, char** argv )

const uint32_t imgWidth = camera->GetWidth();
const uint32_t imgHeight = camera->GetHeight();
const uint32_t fps = camera->GetFps();
const uint32_t fps = camera->GetFps();

printf("\nhomography-camera: successfully initialized camera device\n");
printf(" width: %u\n", imgWidth);
Expand Down
2 changes: 1 addition & 1 deletion examples/imagenet-camera/imagenet-camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int usage()
printf(" by default, MIPI CSI camera 0 will be used.\n");
printf(" --width WIDTH desired width of camera stream (default is 1280 pixels)\n");
printf(" --height HEIGHT desired height of camera stream (default is 720 pixels)\n\n");
printf(" --fps FPS desired FPS of camera stream (default is 30 pixels)\n\n");
printf(" --fps FPS desired FPS of camera stream (default is 30 pixels)\n\n");
printf("%s\n", imageNet::Usage());

return 0;
Expand Down
2 changes: 1 addition & 1 deletion examples/segnet-camera/segnet-camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ int usage()
printf(" by default, MIPI CSI camera 0 will be used.\n");
printf(" --width WIDTH desired width of camera stream (default: 1280 pixels)\n");
printf(" --height HEIGHT desired height of camera stream (default: 720 pixels)\n");
printf(" --fps FPS desired fps of camera stream (default: 30)\n");
printf(" --fps FPS desired fps of camera stream (default: 30)\n");
printf(" --alpha ALPHA overlay alpha blending value, range 0-255 (default: 120)\n");
printf(" --filter-mode MODE filtering mode used during visualization,\n");
printf(" options are 'point' or 'linear' (default: 'linear')\n");
Expand Down
2 changes: 1 addition & 1 deletion utils
Submodule utils updated 1 files
+2 −2 camera/gstCamera.h