- To run object detection in jetson nano:
$ git clone https://github.com/reachpranjal/object-recognition-jetson-nano.git
$ cd object-recognition-jetson-nano
$ python3 object_detection.py
- To run object recognition in jetson nano:
$ cd object-recognition-jetson-nano
$ python3 object_recognition.py
To install Jetson Inference, Click here
- If there is
Segmentation Fault
Error which occurs due to inappropriate power management,
$ sudo install make
$ sudo ldconfig
- To handle
ImportError: /usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
;
$ export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1
- OpenCV Error
CMake Error at CMakeLists.txt:66 (find_package):
Could not find a configuration file for package "OpenCV" that is compatible
with requested version "3.0.0". `<br />
The following configuration files were considered but not accepted:
/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake, version: 4.0.0
-- Configuring incomplete, errors occurred!
See also "/home/nano/jetson-inference/build/CMakeFiles/CMakeOutput.log"
See also "/home/nano/jetson-inference/build/CMakeFiles/CMakeError.log"
- This is a build problem and hence needs manual change in
CMakeLists.txt
$ cd jetson-inference
$ sudo nano tools/trt-console/CMakeLists.txt
And Search for OpenCV version and change from 3.0.0
to 4.0.0