Skip to content

Implementation of pre-trained object detection and object recognition model on Jetson Nano

Notifications You must be signed in to change notification settings

reachpranjal/object-recognition-jetson-nano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Object detection

  • 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

Object Recognition

  • To run object recognition in jetson nano:
$ cd object-recognition-jetson-nano
$ python3 object_recognition.py

Install Object detection prebuilt models

To install Jetson Inference, Click here

Fix to possible errors

  1. If there is Segmentation Fault Error which occurs due to inappropriate power management,
$ sudo install make
$ sudo ldconfig
  1. 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
  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

About

Implementation of pre-trained object detection and object recognition model on Jetson Nano

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages