-
Notifications
You must be signed in to change notification settings - Fork 93
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
Use kYUV422 images to increase the acquisition frequency #84
base: master
Are you sure you want to change the base?
Conversation
…-> To increase FPS
Hello,
Therefore, I would prefer not to merge this PR now. |
Hi! I agree with you, using compressed images will help on the PC side. |
Would it make sense to modify this PR so that you could use the kYUV422 image format via the boot_config.json ? |
@Karsten1987 it seams that we can get same or higher rate using compressed RGB images and there is no significant difference in quality, and they are available by default |
@Karsten1987 Unfortunately I don't have a Pepper robot to modify the PR and test it. If this PR is not useful anymore we can close it for me. Thanks! |
@jokla your PR is useful anyway. It would be good to have both YUV and RGB implemented. By the way, did you try compressed RGB last time? |
@nlyubova I have never tried the compressed RGB. I think it was implemented after I stop working with Pepper. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I propose to keep RGB format by default and merge it, in case if it works for both Pepper and Nao
@@ -126,7 +121,7 @@ CameraConverter::CameraConverter( const std::string& name, const float& frequenc | |||
camera_source_(camera_source), | |||
resolution_(resolution), | |||
// change in case of depth camera | |||
colorspace_( (camera_source_!=AL::kDepthCamera)?AL::kRGBColorSpace:AL::kRawDepthColorSpace ), | |||
colorspace_( (camera_source_!=AL::kDepthCamera)?AL::kYUV422ColorSpace:AL::kRawDepthColorSpace ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please keep RGB by default?
Get kYUV422 images from the 2D cameras and convert them after to RGB. The image is lighter, it has 2 channels instead of 3. This allows getting VGA images from one camera at 15Hz instead of 9Hz using WiFi at 5GHz.