Jetson nano Procedure from purchase to object recognition (apple and orange) By Kawashima AI, Jetson, Linux, Python, Machine
sudo apt-get install git cmake Get git and cmake needed for compilation.
git clone https://github.com/dusty-nv/jetson-inference cd jetson-inference git submodule update --init
Clone the repository. The location should be your home directory.
Then go into the cloned directory and get all the dependent modules.
next
mkdir build cd build cmake ../
Create a build folder called build, enter the build directory, and use cmake to prepare for compilation.
Compiling Jetson nano sample code next
cd jetson-inference/build make sudo make install
cd jetson-inference/build make sudo make install Make sure you are in the jetson-inference / build directory and compile with make. Then use make install to complete the installation.
cd jetson-inference/build make sudo make instal
Let's move the etson nano sample code! next
cd jetson-inference/build/aarch64/bin Change to the directory above.
Some programs are already available here (by compiling and installing).
First, execute the following command for the first time (in Terminal)
./imagenet-console orange_0.jpg output_0.jpg
Take the photo orange_0.jpg as input and write the recognized result to output_0.jpg.
Recommended Posts