L-3 Install OpenCV 4.5 on NVIDIA Jetson Nano | Set Up a Camera for NVIDIA Jetson Nano

L-3 Install OpenCV 4.5 on NVIDIA Jetson Nano | Set Up a Camera for NVIDIA Jetson Nano

Code With Aarohi

1 год назад

35,533 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

nandu uppi
nandu uppi - 06.09.2023 09:29

hi mam ,
I installed python 3.8 and made it default for python

in python3.6 cv2 module in present of version 4.1.1

when i created virtual environment of python3.8 with --system-packages like as you are mention their cv2 module is not found
please guide me where i am doing wrong

Ответить
Surya Mohith Maddi
Surya Mohith Maddi - 23.08.2023 17:37

how to reset the system mam please tell me, i want to reset everything and i wanna follow your videos...please help me out..

Ответить
Jardel Vieira
Jardel Vieira - 22.08.2023 19:50

I want to use mediapipe with opencv, is there a problem install OpenCV 4.8 ?

Ответить
黃某人
黃某人 - 15.08.2023 09:54

Hi, I executed : sudo sh -c "echo '/usr/local/cuda/lib64' >> /etc/ld.so.conf.d/nvidia-tegra.conf“

then the prompt became like this : >

is this correct ? or I did something wrong .... thank you for your hard work

Ответить
Amani Murera
Amani Murera - 14.08.2023 10:48

trying to increase swap file using your steps, now my Jetson Nano is not able to boot

Ответить
Humberto Ochoa
Humberto Ochoa - 12.08.2023 00:41

Where can I get the commands to build the opencv in the directory build?

Ответить
黃某人
黃某人 - 10.08.2023 03:47

Thank you my lady !! You did a great job!

Ответить
gurucharan k
gurucharan k - 24.07.2023 17:40

hello mam i am getting the following error when i import pandas in my python environment
illegal core dumped .
pls make a video on this issue madam

Ответить
Jefin Sam
Jefin Sam - 19.07.2023 18:48

Hello ma'am, when i create the swap file
After the © sudo bash -c 'echo "/var/swapfile swap swap defaults 0 0" >> /etc/fstab'

Outputs ">" what to do after this

Ответить
Yigal B
Yigal B - 16.07.2023 08:26

Thank you for a great video and for the list of commands. It is working well on my Jetson Nano. Few questions: 1) Why do we have to install dependencies for the OpenCV? Isn't that done automatically when installing the OpenCV? 2) If we do have to install, can't we use a script with the list of all these commands, so no need to run them one by one?

Ответить
Badia Yosafat
Badia Yosafat - 12.07.2023 00:58

My jtop says openCV: 4.5.1 with CUDA: YES instead of "compiled CUDA"

is that the same?

Ответить
JavedSyed
JavedSyed - 04.07.2023 11:12

Awesome series!. Any idea which camera is compatible with Jetson Orin NX 16GB (Jetpack 5.1)?
I bought IMX477 (12MP) camera but it is not compatible with JP 5.1.

Ответить
William Lightfoot
William Lightfoot - 03.07.2023 06:45

Hi Arohee, why do you have a prefence for virtual environments ? If I want to make an application that runs on a device from startup, surely the use of virtual environments makes things more difficult ? Although I have read that there is a route to deployment even when you use virtual environments, even though I haven't used them. Thanks for your videos, I found them to be a useful starting point.

Ответить
페페
페페 - 30.06.2023 20:59

Hello, I am a college student studying Jetson Nano in Korea. I had been struggling for a week because I couldn't install opencv on Jetson Nano, but after watching the video, I succeeded at once. Thank you so much!!!!!!!!!!!!!!!

Ответить
라이언
라이언 - 16.06.2023 07:57

Hi. My terminal stopped for 1 hour on [100%] Built traget opencv_perf_superres
Do you figure out the reason?(It took about 3 hour to get 0% to 100%)

Ответить
Lee Murphy Brazil
Lee Murphy Brazil - 04.06.2023 14:34

Hello there, this is the error message that I encountered about three hours into my build operation after entering the "make -j4" command. Do you have any suggestions?

[ 84%] Built target opencv_ximgproc

Makefile:162: recipe for target 'all' failed
make: * [all] Error 2

Ответить
Adnan Ahmad
Adnan Ahmad - 02.06.2023 01:38

My opencv version changed from 4.1.1(cuda not comaptible) to 4.1.2(cuda comaptible). But why not to 4.5.1? I followed whole process

Ответить
aswath tamilan
aswath tamilan - 01.06.2023 09:27

Mam the list of comamnds you shown on white background image before install open cv . Commands need to paste inside config file right

Ответить
IngenieriaNoConvexa
IngenieriaNoConvexa - 31.05.2023 22:51

Eres realmente buenisima. Hay mucho trabajo aqui detras de este video y te agradezco muchisimo por tu buena voluntad en publicar este tremendo esfuerzo. Desde Chile, un gran abrazo y muchas gracias¡

Ответить
Ellah Marie Tatualia
Ellah Marie Tatualia - 21.05.2023 21:10

Hi ma'am! We have encountered error on the code ls/dev/video0, it says no such file or directory. How can we possibly resolve this problem? Thank you.

Ответить
Snapkkart,in
Snapkkart,in - 17.05.2023 09:05

sudo sh -c "echo '/usr/local/cuda/lib64' >> /etc/ld.so.conf.d/nvidia-tegra.conf“ , I'm stuck at this command, after executing this command is got this output only " > "

Ответить
Kiên Nguyễn Bảo
Kiên Nguyễn Bảo - 12.05.2023 18:19

I have a problem "Encoder null, cannot set bitrate!". I'am using IXM219 camera so how can i fix it? Please help me

Ответить
MinhNguyễn
MinhNguyễn - 04.05.2023 14:58

madam, i checked again, after restarting the swap memory is still 1.9G, what should i do?

Ответить
MinhNguyễn
MinhNguyễn - 04.05.2023 11:23

after running make -j4 command to 100%: built target opencv_perf_superres. then it freezes, it's been 1 hour and it's still the same, what can i do to fix it ma'am
madam, can you show me each command to fix dc, i have read the comments but still don't understand because i'm a newbie, sorry for my stupidity, please help

Ответить
ujjawal bhushan
ujjawal bhushan - 03.05.2023 09:44

sudo sh -c "echo '/usr/local/cuda/lib64' >> /etc/ld.so.conf.d/nvidia-tegra.conf“
this command should be sudo sh -c "echo '/usr/local/cuda/lib64' >> /etc/ld.so.conf.d/nvidia-tegra.conf"

it takes almost 2 hours for me to understand

Ответить
Snehit Vaddi
Snehit Vaddi - 30.04.2023 05:17

Hello!
Would you mind recommending a good camera for the Jetson nano please?
To give you context, I am working on potato analysis where there are hundreds of potatoes coming out of conveyer belt. I will be performing OpenCV and ML stuff

Ответить
Dominic Danis
Dominic Danis - 27.04.2023 03:17

Hi Aarohi, thank you for making this video! It has been very helpful. I have run into an issue where it seems following your steps I only have OpenCV with CUDA for Python 2.x and not Python 3.x. When I try run in a Python2 shell I am able to import CV2 and find CUDA devices however Python3 cannot import CV2. When I run jtop I do find OpenCV is 4.5.1 with CUDA: YES. Is there a different way I can get it to work for Python3? I am assuming I need Python 3.x to run YoloV7 later and this cannot all be done with Python 2.x. I have followed all your steps exactly from this video although I have done some work on my Jetson before - this is not a fresh Jetpack installation (although I am using Jetpack 4.6). Thank you!

Ответить
Urvashi Mesariya
Urvashi Mesariya - 21.04.2023 09:30

Hello, I am following your code for builidng opencv, Howerver i ma getting configuring incomplete msg after running this block of code : cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules -D EIGEN_INCLUDE_PATH=/usr/include/eigen3 -D WITH_OPENCL=OFF -D WITH_CUDA=ON -D CUDA_ARCH_BIN=5.3 -D CUDA_ARCH_PTX="" -D WITH_CUDNN=ON -D WITH_CUBLAS=ON -D ENABLE_FAST_MATH=ON -D CUDA_FAST_MATH=ON -D OPENCV_DNN_CUDA=ON -D ENABLE_NEON=ON -D WITH_QT=OFF -D WITH_OPENMP=ON -D WITH_OPENGL=ON -D BUILD_TIFF=ON -D WITH_FFMPEG=ON -D WITH_GSTREAMER=ON -D WITH_TBB=ON -D BUILD_TBB=ON -D BUILD_TESTS=OFF -D WITH_EIGEN=ON -D WITH_V4L=ON -D WITH_LIBV4L=ON -D OPENCV_ENABLE_NONFREE=ON -D INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF -D BUILD_NEW_PYTHON_SUPPORT=ON -D BUILD_opencv_python3=TRUE -D OPENCV_GENERATE_PKGCONFIG=ON -D BUILD_EXAMPLES=OFF ..
Kindly help.

Ответить
Abdikani Ali
Abdikani Ali - 20.04.2023 19:32

Hi Aarohi, once I run the code make -j4 it is giving me an error that says "make: * No targets specified and no makefile found. Stop."
I followed everything the way you have up there not sure why it is giving this error. Any help to solve this will be appreciated.
I am suspecting these two commands might have impacted.
sudo sh -c "echo '/usr/local/cuda/lib64' >> /etc/ld.so.conf.d/nvidia-tegra.conf“
sudo ldconfig
the first one gives you prompts and if you type the rest of the codes they just run and give you nothing so I exited and typed the rest of the dependencies.

Ответить
Osama Zulfiqar
Osama Zulfiqar - 19.04.2023 07:54

Hi Ma'am!
I have been following this video series of yours step by step from the start. You are very good.
But when I execute the command make -j4 and it reaches near to completion, I start facing memory issues. I'm using a 64GB SD card. What should I do?

Ответить
Leon Ripa
Leon Ripa - 19.04.2023 06:20

i find it hard to implement a Region of Intrest Mask for YOLOv7 (to help speed up FPS More) not farmilliar with Argeparss and what variables to use. maybe you could touch on that on a video ?

Ответить
Emre Çavdar
Emre Çavdar - 11.04.2023 13:16

hi Aarohi
cmake -D CMAKE_BUILD_........ ı am getting error message
how can ı fix

Ответить
Mark Stark
Mark Stark - 09.04.2023 20:34

here typo in your command wrong symbol at the end:
sudo bash -c 'echo "/var/swapfile swap swap defaults 0 0" >> /etc/fstab’

correct way:
sudo bash -c 'echo "/var/swapfile swap swap defaults 0 0" >> /etc/fstab'
this should be at the end ( ' ) not this ( ’ )

same with this command :
sudo sh -c "echo '/usr/local/cuda/lib64' >> /etc/ld.so.conf.d/nvidia-tegra.conf“

you have this a the end ( “ ) has to be ( " )

Please edit your comment with command and stop confusing people !

Ответить
RexLudus
RexLudus - 07.04.2023 16:37

you are perfect! <3

Ответить
Viridi
Viridi - 28.03.2023 18:24

Hello, after executing long "cmake -D CMAKE_BULD_TYPE..." command I get "Configuring incomplete, errors occured!" I have installed all the dependencies and completed all previous steps without problems. Could you help?

Ответить
Hasnain Hasib
Hasnain Hasib - 25.03.2023 10:35

how can i install this on python 3.7

Ответить
traeht
traeht - 23.03.2023 23:35

Hi Aarohi. I followed your steps, however, I still get CV2 version 4.1.1 at the end. After increasing memory to 4G with swap and rebooting do we install the long list of dependancies in default folder that appears when I open again the terminal, namely user@user-desktop, or do we have to activate the environment again before installing the dependancies? Thank you, I appreciate your help.

Ответить
Checksumff
Checksumff - 22.03.2023 23:50

Thank you! I know that video was a lot of work. I appreciate it!

Ответить
Hüseyin İnci
Hüseyin İnci - 20.03.2023 14:22

it say `[100%] Built target opencv_perf_superres` and waiting for 1 hour / what should I do please ansver maam _

Ответить
Pedro Ferreira
Pedro Ferreira - 20.03.2023 01:21

Hi Aarohi. When i do the "make -j4" process it does not finish,. and don´t complete the task. it is memory problem?

Ответить
Madhu Oruganti
Madhu Oruganti - 16.03.2023 14:57

make: * No targets specified and no makefile found. Stop.

Ответить
MANIGANDAN D
MANIGANDAN D - 09.03.2023 14:47

Good Evening ma'am, when I execute the make -j4 command, it runs well but it stops at the 100% & can't go to the further process. What should I do ma'am

Ответить
Nithya Prakash
Nithya Prakash - 07.03.2023 19:35

Can you do a video on tensorflow installation in jetson nano.. plssssss plssss plsssss

Ответить
LandscapeR
LandscapeR - 26.02.2023 09:58

after reboot swap memory is still 1.9G, what shoul i do?

Ответить
Palani Ramu
Palani Ramu - 02.02.2023 23:12

Thanks you very much for your contribution. We are very happyt because the program aree running on our jetson kit.

Ответить
Kumar Sheshank Shekhar
Kumar Sheshank Shekhar - 17.01.2023 08:30

Mam please make video on how to implement yolov5 in jetson nano

Ответить
Kumar Sheshank Shekhar
Kumar Sheshank Shekhar - 17.01.2023 08:29

Very Good video, mam, please bring more videos on Jetson nano

Ответить
Learn with AK
Learn with AK - 16.01.2023 11:29

Good Work .. Aarohi..Carry on

Ответить