Hi,
could you please help me, how could I resize a dwImageCUDA Image on PX2 to a specific size in a way, that it does not preserve the aspect ratio (so without padding)?
A solution involving opencv is also welcome.
Thank you!
Hi,
could you please help me, how could I resize a dwImageCUDA Image on PX2 to a specific size in a way, that it does not preserve the aspect ratio (so without padding)?
A solution involving opencv is also welcome.
Thank you!
Hello andrastuzko,
We had posted OpenCV installation guidance on below link. Please see the link. Thanks.
Pre-Conditions:
sudo apt-get install git
git config --global user.email “your email”
git config --global user.name “your name”
The instructions to build OpenCV on DrivePX2 Linux (V4L) platform:
cherry pick command for cdb9c contains a white space error, change to git cherry-pick cdb9c
SDK does not contain default FFMPEG and V4L2, install these packages by :
sudo apt-get install libx264-dev libx265-dev libvpx-dev ffmpeg
sudo apt-get install v4l-utils libv4l-dev
The proper DCUDA_ARCH_BIN variable need be set in CMake configurations:
-DCUDA_ARCH_BIN=6.2 // AutoCruise with iGPU
-DCUDA_ARCH_BIN=‘6.1 6.2’ // AutoChauffeur with both iGPU and dGPU