AI on the Jetson Nano LESSON 10: Installing OpenCV for Python 3

  Рет қаралды 38,471

Paul McWhorter

Paul McWhorter

Күн бұрын

Пікірлер: 140
@GAment_11
@GAment_11 4 жыл бұрын
This guy deserves your money. He is saving us hours and hours of time by telling us the pitfalls and such. Hes working for us--thanks Paul McWhorter! Also--Looks like this version in 2020 shows '4.1.1'.
@billkieffer4513
@billkieffer4513 4 жыл бұрын
Thank You!! I never would have gotten this far into this without your instruction (nano lesson 10). Your style of presentation is TOP- NOTCH. I have not seen anything better in 77 years.
@epixexplorations
@epixexplorations 4 жыл бұрын
so easy to follow along with your tutorials, there needs to be more teachers like you around.
@teddy78881
@teddy78881 4 жыл бұрын
I would like to say here that your lessons on Arduino really helped me on a Module titled Embedded System in my Uni. I had 98% on the module. I'm really grateful to come across your lessons then. I am building up myself ready for another module on AI this coming academic session.
@Sikuq
@Sikuq 3 жыл бұрын
Fantastic lesson 10/62. You make it go so easy. Now cv2 is v. 4.1.1 on my Nano. Thanks Paul.
@bluluke
@bluluke 2 жыл бұрын
Doing it now, gets 4.1.1! Still true
@jardelvieira8742
@jardelvieira8742 Жыл бұрын
@@bluluke does 4.1.1 work?
@ricardobjorkeheim775
@ricardobjorkeheim775 3 жыл бұрын
Hello Paul, after 8 installations of the Jetpack it works, I got the OpenCV 3.3.1. The only way is to run the Jetpack version 4.2.3 and is very important to not start the Jetson Nano with the network cable connected. So the steps are: 1 download the Jetpack 4.2.3 from the Nvidias Jetpack archive (not the latest) 2 follow your steps as in lesson 1 to copy the package in the SD card. 3 insert the SD card 4 connect a monitor to the HDMI connector, not the Display port (other way you do not see the start) 5 do NOT connect the network cable ( other ways it will try to update at the same time as you start it the first time) 6 When it start it will ask to upgrade the Ubunto version to the latest, DO NOT UPGRADE! it takes several hours and it update the python to the latest version, and you do not want it. 7 open the terminal and run sudo apt-get update, it will take about 20 min. unfortunately it update from Python 3.6.8 to 3.6.9. 8 run the command sudo apt-get install python3-opencv, it will give you an error and it says the you have to run a pkg manually, just copy the text with the instructions and run it, 9 now can you run sudo apt-get install python3-opencv and it install Open CV version 3.2.0 10 unistall it with the comand sudo apt-get remove python3-opencv and now you have OpenCV 3.3.1. 11 Done !
@Mystic0Dreamer
@Mystic0Dreamer 5 жыл бұрын
I'm working overtime. I got OpenCV 3.3.1 installed correctly. No problems! Thank you for sharing all these secrets! This would have been a nightmare to try to figure out on my own. I'm about ready to tackle lesson 11 and I'll be all caught up. I going to bed right now though.
@architjaiswal5952
@architjaiswal5952 3 жыл бұрын
God bless you for showing this technique of getting the right version of OpenCV on python3 at 10:29!
@geraldopontes37
@geraldopontes37 3 жыл бұрын
I repeat all lessons. I'm ok, let's use the OpenCV2. Thank you Paul!
@jrioux5162
@jrioux5162 2 жыл бұрын
I was able to follow along really well. For each example I cut and pasted each one into the file so there are several commands to make each graph seperately. I also figured out how to install pylint. If you would like the instructions please let me know. Thanks
@jrioux5162
@jrioux5162 2 жыл бұрын
Oops this comment should have been put in the previous video (Lesson 9).
@GreekGadgetGuru
@GreekGadgetGuru 4 жыл бұрын
Trying this a bit later than originally launched. Your trick for uninstalling opencv is actually upgrading from 3.2.0 to 4.1.1 ; I will proceed with the lesson in opencv 4.1.1 and hopefully there are no issues. Otherwise I will report back. Thanks!
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
Perhaps you were on Jetpack 4.3 or 4.4. The lessons were made on Jetpack 4.2. Things can be slightly different. I dont think opencv 4.1.1 will be a problem.
@davidbooth529
@davidbooth529 4 жыл бұрын
I have the same situation. Did you run into any issues. I am struggling getting the examples in lesson 12 to work, in particular the the convert to greyVideo.
@stevendmitnick
@stevendmitnick 4 жыл бұрын
In the first lesson Paul explains how to install JetPack 4.2.2. However, since then the JetPack versions have been upgraded and will not always work with his lessons. In order to follow along with him and assure the lessons all work, go to developer.nvidia.com/jetpack-422-archive and follow the install instructions for JetPack 4.2.2.
@dgb5820
@dgb5820 4 жыл бұрын
Your words are made of gold, this subject is incredible, you make this even more powerful
@JSEEngineering
@JSEEngineering 4 жыл бұрын
getting there during lock-down . . . lots of time to FOCUS . . . Thank You
@kestergascoyne6924
@kestergascoyne6924 4 жыл бұрын
Amazing work Paul. If I wasn't so buried in debt I would find a way to financially repay you. Maybe at a later date.
@gplayer01
@gplayer01 5 жыл бұрын
Enjoyed the "whole enchilada" lol. Great lesson and thanks.
@opalprestonshirley1700
@opalprestonshirley1700 5 жыл бұрын
Getting closer. Have a good weekend.
@wishicouldarduino8880
@wishicouldarduino8880 4 жыл бұрын
I'll take a wild guess and say 4.1.1 will work its the updated model so it updates to the latest of everything this thing is super fast I haven't gained this much knowledge since tutorials 3 4 lol awesome videos Paul
@danbishop4035
@danbishop4035 3 жыл бұрын
openCV4.1.1 but based on some of the comments and responses I'm sure it will be just fine..looking forward to the next lesson.
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
For these videos I was on Jetpack 4.2, and most of you guys now are on Jetpack 4.5. There will be a few snags along the way, but if you hit one, usually you will find helps in the comments. With a few tweaks everything should work. Good luck
@xacompany
@xacompany 5 жыл бұрын
Love your videos!
@pralaymajumdar7822
@pralaymajumdar7822 4 жыл бұрын
Extraordinary ...full of knowledge..Thank you sir..long live.
@taurus548
@taurus548 3 жыл бұрын
Just started out and am now up to Lesson 10. I followed the process of installing OpenCV but ended up with version 4.1.1. I am plunging on in the hope that it is backwards compatible with OpenCV version 3.3.1. I doubt if I am smart enough to somehow get 3.3.1 installed without a great deal of difficulty. I will let you all know how it goes.
@collinb5524
@collinb5524 Жыл бұрын
Did the different Opencv version give you any trouble John? Im in the same boat
@MOHSENGHASEMI-b6y
@MOHSENGHASEMI-b6y Ай бұрын
Excellent teacher ❤❤❤.
@stevenchilcott2276
@stevenchilcott2276 4 жыл бұрын
Following this process I ended with OpenCV version 4.1.1. on 12/11/20. I hope this version will be OK.
@grelstkoning9373
@grelstkoning9373 4 жыл бұрын
Same here, getting worried.
@lorenzoleongutierrez7927
@lorenzoleongutierrez7927 3 жыл бұрын
Dear Paul, I just followed the step you advised in 9:18 to obtain the '3.3.1' Cv2 version, but when I check at 10:28 it appears the version '4.1.1'. After, I worked with this version in the next lesson (11), but the image in video size (WebCam Logitech) is quite big, and latency is high. Please, do you have some suggestion?. Many thanks in advance! Lorenzo
@lorenzoleongutierrez7927
@lorenzoleongutierrez7927 3 жыл бұрын
...(after a while) ... latency and size resolved at Class 13 with cam.set for web cam. Still the version is 4.1.1 . happy!
@jardelvieira8742
@jardelvieira8742 Жыл бұрын
@@lorenzoleongutierrez7927 Thaks! You are my hero 🙌🙏
@arshamardeshirian5293
@arshamardeshirian5293 3 жыл бұрын
Thank You!!!!!!!!!!! for your lessons. they are great.
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Glad you think so!
@raviyadav-rc1br
@raviyadav-rc1br Жыл бұрын
Hi paul, Could you please tell me exactly on which jetson nano you are working on this series it is 4.2 or 4.2.3
@RS-vu5um
@RS-vu5um Жыл бұрын
Hi Paul, On my Python 2.7 version, there is no OpenCV installed. On Python 3, OpenCV 3.2.x is installed. I followed your procedure but it keeps installing OpenCV 3.2.x only on Python3. Please help
@xacompany
@xacompany 4 жыл бұрын
Something even crazier happened to me... After installing and just like you have shown, I´ve got version 3.2.0, then after removing I´ve got version 3.3.1 so far so good, but then I reinstalled again and got version 3.2.0 as expected... The crazy thing is that I removed the package for second time and it was upgraded to 4.1.1
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
OK, if you flash jetpack 4.3 you do not have to do any of this stuff. It will vome with 4.1.1 without doing anything. The thing in this video was needed for jetpack 4.2. I am sorry for the confusion, but it makes it hard when they change things after I produce the videos.
@epixexplorations
@epixexplorations 4 жыл бұрын
Hi @@paulmcwhorter I had the same thing happen to me, i removed the package and opencv was upgraded to 4.1.1 based on the comments on this channel, i take it i dont need to do anything else and just continue on with your tutorials?
@iam.damian
@iam.damian 2 жыл бұрын
On JetPack 4.6 this just removed my openCV :(
@quaternion-pi
@quaternion-pi 5 жыл бұрын
This is great, but a solution to do this headless (remote ssh into Jetson) would be so much more convenient. VNC seems not to work. Thanks for this excellent series.
@paulmcwhorter
@paulmcwhorter 5 жыл бұрын
There are ways to make vnc work, but do not like editing system files. I have made it work, but on my main system will wait for a more stable solution. Missed you live this morning.
@teddy78881
@teddy78881 4 жыл бұрын
Hi Please on following lesson 10 installing OpenCV for Python3, cv2 version came up to 4.1.1 Would this be a problem on following after the rest of the videos?
@barjammar
@barjammar 4 жыл бұрын
I'm wondering about the same issue. I'm on Ubuntu 20 and have Python 3.6.9 What have you found out? Thanks
@tonyywarren348
@tonyywarren348 5 жыл бұрын
I'm not able to get Intellisense for CV2 from within VS Code, after following these directions. I think opencv needs to be PIP installed so it resides with PYLINT. If anybody has a work-around please let me know.
@alirezaghanbarzadeh1679
@alirezaghanbarzadeh1679 3 жыл бұрын
Thank you, Paul. how to install open-cv contrib (with extra modules) ?
@martynwimpenny2017
@martynwimpenny2017 4 жыл бұрын
Great as always however have a little problem - cv2 is now on version 4.1.1? is this a problem?
@jeantorres3293
@jeantorres3293 2 жыл бұрын
On lesson 18 currently but it’s at the point where I need the intellisense to work to keep up with all the commands, I’m going through this again and for some reason I can’t get intellisense to autocomplete functions for cv2...everything else works except cv2
@jessekloberdanz246
@jessekloberdanz246 2 жыл бұрын
Thanks for this!
@ctcombs4504
@ctcombs4504 4 жыл бұрын
I just got a NANO and have been itching to try it out. I am running through this lesson to get caught up and the open CV version I have installed now is 4.1.1 I havent tried it yet but I will let you all know if it works!
@johndubose6589
@johndubose6589 4 жыл бұрын
version 4.1.1, doesn't seem to work and I'm stuck. I ask Paul for a remedy but haven't heard back yet. Have you found a solution?
@MichalDemeterTvrdon
@MichalDemeterTvrdon 2 ай бұрын
Love it!!!
@lem09able
@lem09able 5 жыл бұрын
Hey sir, can you please do a tutorial on IoT using Firebase with esp32? It will help a lot of people. There are currently no good in depth tutorials/articles on this device.
@jameswoolaway792
@jameswoolaway792 4 жыл бұрын
Hi, I am in catching up mode here. Great course! Here are some late comer notes: 1) The Jetson Nano version that you are using (A02?) has been replaced with version B01. As a result, I am using the B01. B01 and I are through lesson 9 and so far so good. 2) The Yahboom Acrylic Case for NVIDIA Jetson Nano A02 is being updated to work with B01. These should be available June 15th, 2020 or so. 3) Is there a way to get both version B01 Pi Cameras working? - Jim
@somebody9033
@somebody9033 4 жыл бұрын
Late reply, but here are the answers. 1. Yes, it will work totally fine. Paul IS using the A02 as far as I can see. 2. Yay! 3. Yes - tutorial 47 explains this.
@jubailijoseph6971
@jubailijoseph6971 3 ай бұрын
I don t know if you can help me out doctor but i am using arducam UC-517 motorized focus , imx477 , 12 megapixel HQ , the problem i am having i am getting -121 error. ... And i am stuck here .
@user-vn7ce5ig1z
@user-vn7ce5ig1z 5 жыл бұрын
4:03 - It might also be helpful to consider using a class A1 SD card.
@josemanuelmunozcontreras6291
@josemanuelmunozcontreras6291 4 жыл бұрын
Is amazing, si thanks for this video.
@drzwithcrow6075
@drzwithcrow6075 Жыл бұрын
Yep, sure did get latest version of openCV, unfortunately it's 4.4.1, so I'm hoping that won't cause grief.
@navadeep025
@navadeep025 5 жыл бұрын
Sir, What topic is currently trending internationally in Electrical engineering. (Like, we have python, ML in computer field) .
@danny12345
@danny12345 5 жыл бұрын
thank you.
@ctcombs4504
@ctcombs4504 4 жыл бұрын
Hey guys, so a little update, 4.1.1 seems to work but i was following along in lesson 11 and ran in to an error, File "/home/ctcombs0351/Desktop/pyPro/openCV/openCV2.py", line 13, in outVid.write(frame) AttributeError: 'tuple' object has no attribute 'write' It also didnt seem to be recognizing the (VideoWriter) command, the auto fill wasnt picking it up. it was'nt creating an error but idk. outVid=cv2.VideoWriter,('videos/myCam.avi',cv2.VideoWriter_fourcc(*'XVID'),21,(dispW,dispH)) Any thoughts on whether this is an issue with openCV 4.1.1 or possibly something else that hasnt installed correctly, or have i made a painfully obvious error in typing in the commands? -THANKS
@johnganci933
@johnganci933 4 жыл бұрын
A possible alternative way to repair the OpenCV supplied on the 2019/07/19 SD card image. When researching OpenCV problems I was having using the 2019/12/17 SD card image, I switched to the 2019/07/19 image, the one Paul is using. Having hindsight and foresight now, and starting with a fresh card image, I decided to look more closely at what is wrong with the OpenCV supplied on the 2019/07/19 image. I posted information about my OpenCV problems in Lesson 11. Within that post is a link to a post I made to the nvidia help forum: devtalk.nvidia.com/default/topic/1070685/jetson-nano/jetson-nano-latest-sd-card-image-r32-3-1-contains-opencv-4-1-1-but-no-quot-py-quot-source/ Look at the update I made 02/05/2020. In it are steps I followed using a fresh 2019/07/19 SD card image. Not stated there, I was following what has been done in the videos here. Since my SD card image was fresh, I had not yet installed matplotlib. Step 3 there was a sanity test of OpenCV and python3, done well in advance of Lessons 9-11.. You will see that, indeed, OpenCV is not (properly) installed. However, there is a clue -- the "import cv2" fails due to a missing numpy.core.multiarray. Further down, the "import numpy as np" fails due to missing numpy. Just for grins, I decided to install matplotlib (what was done in Lesson 9) then try the cv2, python3 sanity test again. Success! (There is a typo at step 4: I ran "sudo apt-get install python3-matplotlib", not 'sudo apt-get install matplotlib".) I've left my Jetson Nano with this being the fix for a bad OpenCV. No problems so far. Summary. It is possible that OpenCV was "fixed" after Lesson 9, eliminating the need to do the "install, remove" of OpenCV.
@AIMatesanz
@AIMatesanz 5 жыл бұрын
Thank you for the video! is it possible to make it work inside a virtualenv? Thanks
@m.enm.villagomez9704
@m.enm.villagomez9704 4 жыл бұрын
china, aliexpress
@TerraWise2024
@TerraWise2024 5 жыл бұрын
After uninstall OpenCV I got: no module named 'cv2'.....
@Ryou_Kevin
@Ryou_Kevin 4 жыл бұрын
Did you solve this problem? I got this problem too.
@DeeGeeDeFi
@DeeGeeDeFi 4 жыл бұрын
being able to download and install software just by the command in the terminal, makes me wonder if there's a computer virus concern... Not necessarily this opencv, but some other app.
@angelleal3005
@angelleal3005 3 жыл бұрын
I have python 3.6.0 When I type import cv2 enter I get Illegal instruction ( core dumped ) . Does anyone know why ?
@ricardobjorkeheim775
@ricardobjorkeheim775 3 жыл бұрын
for me it appear version open CV 4.1.1 it says it is compatible with python3 3.6
@miguelramirez-ie6ij
@miguelramirez-ie6ij 3 жыл бұрын
i have a problem whit my jetson nano , in the terminal show "the version is not the correct" after the sudo apt-get install python3-open cv command , caan you help me mr Paul , amazing videos , good vibes frrom Mexico
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
All these lessons are built on jetpack 4.2 . You are probably on jetpack 4.4 so started with a more recent openCV. Most things should work with the more recent openCV. One problem will be with the countours command in a later lesson but if you look at the comments for that lesson it will show you how to tweak the contrours command
@backdoorwoods6036
@backdoorwoods6036 2 жыл бұрын
I'm still getting the 3.2.0 no matter what I do I did 3 times and still the same is there another way
@johndubose6589
@johndubose6589 4 жыл бұрын
Hi Paul, After following all your instruction carefully, I'm unable to install cv2. version 3.3.1. I'm getting version 4.1.1. and this version won't work in the python3 for this lesson. Is there any remedy for this issue that you know of lately?
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
The problem is that this lesson was made for jetpack 4.2 and you are probably on jetpack 4.4. On jetpack 4.4, it comes with openCV 4.1.1. You dont need to upgrade as shown in this lesson if you are already on openCV 4.1.1. That should work the same for most of the lessons. I am not sure why you are posting that it does not work. I know a number of people using these lessons on openCV 4.1.1 and most things are identical.
@thomascoyle3715
@thomascoyle3715 4 жыл бұрын
OpenCV2 is now at version 4.1.1.
@onlyme3543
@onlyme3543 5 жыл бұрын
Hey Paul quick question I’m having problems using ir sensors in daylight, is there a way of being able to use ir sensors efficiently in sunlight?
@user-vn7ce5ig1z
@user-vn7ce5ig1z 5 жыл бұрын
You'll want to put a shroud on them, even just sliding a small tube over them will usually suffice.
@abramians1
@abramians1 Жыл бұрын
Awesome!
@ronakvyas1829
@ronakvyas1829 4 жыл бұрын
Tried installing opencv on Jetson nano 2gb variant with this funky method. Can't get past version 3.2.0 after 5 tries. Also, sudo apt-get install python3-opencv=3.3.1 is also not working
@robjameson7965
@robjameson7965 4 жыл бұрын
I'm watching this as of Aug 2020 & have followed the load/ unload procedure & its installed OpenCV v.4.1.1 (as opposed to v.3.3.1). I just wondered if this is going to be an issue moving forward with these videos? I'm wondering if I should try an install an older version??
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
On jetpack 4.3 or 4.4 you do not need to do this step, you already have the recent OpenCV. Most things in these lessons should work on the openCV you have
@robjameson7965
@robjameson7965 4 жыл бұрын
@@paulmcwhorter I was almost going to check, before I went & followed the procedure (but got carried away & didn't), so its now running the v4.1.1. I'm just on the next lesson setting up the Camera (im using the camera that came with the Jetbot - I see it has the same Sony IMX219 sensor as the Pi 2 cam & seems to be working OK - code line 5: Flip = 4 (not :2) to display the image the right way up though.
@ashok_ign5623
@ashok_ign5623 4 жыл бұрын
Thank you
@wayneswan3092
@wayneswan3092 3 жыл бұрын
I'm about to make a big order from Amazon. Is there anything else I need for later in this series? What about the robot series?
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
A Gaggia One Touch Cappuccino Machine.
@wayneswan3092
@wayneswan3092 3 жыл бұрын
@@paulmcwhorter I'll get right on that!! 😁
@joellynaugh8507
@joellynaugh8507 4 жыл бұрын
Hi Paul - I'm using the new 2GB NANO that was just released. Thanks for the lessons! The PI camera is working but I am getting an error in the terminal when I run the program. Here it is: [ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (933) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1 It doesn't seem to affect the execution of the program but I don't know how to get rid of it. Has anyone else seen this error?
@itplcdesigner6432
@itplcdesigner6432 2 жыл бұрын
how to take pictures in python with jetpack opencv
@mmdls602
@mmdls602 4 жыл бұрын
I did the install/uninstall of openCV and now I have 4.1.1 lol Just got the nano BO1 so looks like its the newer version. Also numpy came installed.
@eyalgoldschmidt1783
@eyalgoldschmidt1783 5 жыл бұрын
When I remove the opencv from python3 it dosnt replace it with the cv2 3.3.1. Can I get help?
@paulmcwhorter
@paulmcwhorter 5 жыл бұрын
I would start with a fresh SD card and follow through the video again. it should work.
@barjammar
@barjammar 4 жыл бұрын
With the latest python3 version, I eventually saw this as I copied Paul's instructions and then had cv2 version 4.1 as shown: barry@barry-nano:~$ python3 Python 3.6.9 (default, Apr 18 2020, 01:56:04) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>> print(cv2.__version__) 4.1.1 >>>
@DatsunVents
@DatsunVents 4 жыл бұрын
Me too, although mine says 4.1.1. If you read all the comments below, you can either go back to square one and install an older JetPack or go forward and probably read through the comments to see what people do to make it work. Paul made these videos a year ago and unfortunately there have been a lot of changes. I am going to stick with my 4.1.1 and see how far I get.
@sport7032
@sport7032 4 жыл бұрын
Hi Paul, I just installed the image 3.6.9 from nano web site. The opencv is 4.1.1 after following the removing command. Will this work? If not how can I install the 3.3.1 version of openCV. Thanks in advance.
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
If you are on jet pack 4.3 you do not need to do the uninstall/install step, you have openCV 4.4.1 and that will be good. A couple of commands will be different, specifically when you get to the contours lesson, the cv2.findcontours will return only two parameters and not three. Most other commands will be the same
@sport7032
@sport7032 4 жыл бұрын
Thanks Paul, I'm able to run openCV.py using webcam but the frame rate is low. How to remedy it. thanks in advance.
@sport7032
@sport7032 4 жыл бұрын
I found this : nanocamera pypi.org/project/nanocamera/ It's so easy to set the camera fps. Fixed.
@darrellcoates4555
@darrellcoates4555 4 жыл бұрын
After installing and removing I ended up with cv2 version 4.1.1 NOT version 3.3.1 Will This Work?
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
I think you probably are on a different version of jetpack. They released a newer version after I made the videos. I dont know what will work, or what will not, as there are so many different possiblities. I would probably suggest going back and using the earlier version that was official release on the date I made lesson 1.
@stevesmith6810
@stevesmith6810 4 жыл бұрын
I followed the instructions and after install CV...then removing...the version for OpenCV is now 4.1.1. I hope this won't cause issues moving forward as I'm not sure how to get a specific version.
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
I am really not sure . . . it could be you are using a more recent NVIDIA image, and perhaps it comes with a more recent OpenCV. I have not used 4.1.1 so do not know how much might have changed.
@stevesmith6810
@stevesmith6810 4 жыл бұрын
@@paulmcwhorter I just purchased my unit late last week so it's new. So far it is operating fine thru most of lesson 11. I appreciate your videos. Thank you.
@TinFoot
@TinFoot 4 жыл бұрын
@@paulmcwhorter For some unknown reason I filled up my 128G drive and had to start from scratch installing software. Like Steve, I find myself locked on OpenCV version 4.1.1. Unfortunately I get the following error when working in Lesson 11 :AttributeError: module 'cv2' has no attribute 'waitkey.' So I am stuck here. I have been working on solving the problem for a week without success. If anyone discovers how to solve, I would appreciate a note here. Ted
@TinFoot
@TinFoot 4 жыл бұрын
Sorry but my problem was incorrect spelling of waitKey. I was all lower case. Everything working fine now. Starting to move through the lessons again.
@jamespeterson166
@jamespeterson166 4 жыл бұрын
Hi Paul, love your series I'm digging diligently through it. I'm not sure why perhaps because I'm running Python 3.6.9 but when I go to remove CV2 it removes it. and then kicks me in error" no such module" anytime you could help me with this I would surely appreciate it. I have tried installing CV to 3.3.1 through alternative means and have failed totally.
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
If you start with jetpack 4.3, which you might have, you do not need to do this step. When I made these videos we were on jetpcak 4.2, and had to do these steps.
@jamespeterson166
@jamespeterson166 4 жыл бұрын
@@paulmcwhorter Your prompt response speaks strongly of your level of commitment and integrity much appreciated Jim Peterson
@ZayMeisters
@ZayMeisters 4 жыл бұрын
Hello I come back from the future, lesson 28, where we do the drawing of the contours. I had version 4.1.1 it worked up until that video with some of the functions we used. I made the mistake of removing it and now I am stuck with version 3.2 because this method only works the first time you do it. Does anyone know a different way to install version 3.3.1 or at least upgrade me back to the version I had?
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
I think I would flash a fresh Jetpack 4.3, then dont mess with OpenCV and you will have the right version. The only thing different is the contours command returns only two parameters so you will need to adjust that line of code
@ZayMeisters
@ZayMeisters 4 жыл бұрын
@@paulmcwhorter Yea that was the best thing to do thank you
@lalitjain1969
@lalitjain1969 3 жыл бұрын
Hey my python 2 has version 4.4.1 Please help me
@anthonybrigandi5653
@anthonybrigandi5653 4 жыл бұрын
Why OpenCv instead of using tensorflow/Keras CNN? I assume Keras can run on a Jetson Nano.
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
Because OpenCV is easy to learn, easy to use, and flexible.
@jasontiscione1741
@jasontiscione1741 4 жыл бұрын
The latest Jetpack image (4.3) has OpenCV preinstalled.
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
Yes . . . which version?
@jasontiscione1741
@jasontiscione1741 4 жыл бұрын
​@@paulmcwhorter Jetpack 4.3 (released 12/23/19) came with OpenCV 4.1.1. I don't know if moving from 3 to 4 will cause issues but if 4 is there I'd definitely try that first.
@paulmcwhorter
@paulmcwhorter 4 жыл бұрын
The challenge I have is that I have to make the videos based on the Jetpack as it exists at the time. Then, if they change it, it is not practical for me to redo all the videos. The hard thing is things change quickly in high tech world. In this case, it might make sense to go through the videos with the original Jetpack flash I am using.
@jasontiscione1741
@jasontiscione1741 4 жыл бұрын
@@paulmcwhorter The new Jetpack only has 2 significant updates, OpenCV 4 and TensorRT 6.
@Cnys100
@Cnys100 4 жыл бұрын
Hi you are grate! i get version 4.1.1 is that a problem ?
@johndubose6589
@johndubose6589 4 жыл бұрын
Yes, it seems to be a problem, and doesn't work. Have you solve this yet?
@markm817
@markm817 Жыл бұрын
thumb up!
@andreasschiller4687
@andreasschiller4687 3 жыл бұрын
first of all: Thanks for your great tutorials! I am new to Jetson Nano and appreciate your lessons so much. But I got a Problem with my Version of openCV. I am running Python 3.6.9 and after uninstalling python3-openCV I am left with opencv 4.1.1. I wouldn't bother, but I am getting error messages in VS-Code regarding my imports. None of the functions of cv2 are recognized and are marked as error. e.g. "Module 'cv2' has no 'VideoCapture' member...." . Never the less it is compiling and running, when I insert a shebang that points to python3. How do I get opencv-4.1.1 downgraded to opencv 3.2.0 to avoid these conflicts while following your lessons? Maybe someone can Help, I'm pretty stuck here. Thanks and cheers to all!! :-)
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
Andreas, most of the lessons should run with openCV 4.1. I think on the lessons with contours, you have to adjust the contour command to receive 2 parameters instead of three, but most things should run properly. The core issue is that these lessons were made on the NVIDIA Jeston operating image Jetpack 4.2. If you downloaded resently you are probably on jetpack 4.4, and hence that is why you see the differences. You can go back, and from the NVIDIA jetpack archive, install jetpack 4.2, and then everything should work exactly like my lessons. However, if you bravely forge ahead with your existing system, most things actually should work.
@andreasschiller4687
@andreasschiller4687 3 жыл бұрын
@@paulmcwhorter Thanx for the quick reply! I guess I will follow along with my actual system as long as it is running the python files. But I will flash a sd card with Jetpack 4.2 just in case.. I am missing the conveniance of code-prediction in VS-Code.. Big thumbs up for your work! Greetz! :-)
@ricardobjorkeheim775
@ricardobjorkeheim775 3 жыл бұрын
the uninstall trick does not work any more
@paulmcwhorter
@paulmcwhorter 3 жыл бұрын
These lessons were for Jetpack 4.2. YOu are probably on 4.5 or 4.4. This step is not needed on the more recent jetpack because you already have what you need.
@ricardobjorkeheim775
@ricardobjorkeheim775 3 жыл бұрын
Hi, thank you for you reply!. I have problem in lesson 13( the last part) so I downgraded to Jetpack 4.2 and when I tried to have CV2 version 3.3.1 by uninstalling CV2 in python3 it was just nothing there, your special strange trick did not work for me. Now I am trying to install CV2 with CMake but I still do not success. I will put the information here when I mange to install CV2
@ricardobjorkeheim775
@ricardobjorkeheim775 3 жыл бұрын
Hi again, Jetpack 4.2 did not have OpenCV 3.3.1 but now I am testing with Jetpack 4.2.1 according to the Nvidia blog it shoud have CV 3.3.1
@RupertBruce
@RupertBruce 4 жыл бұрын
Nice hack !
@Direkin
@Direkin 3 жыл бұрын
June 5th, 2021. Installed OpenCV, gets version 3.2.0. Uninstall OpenCV, get version 4.1.1. LOL! Go home apt, you're drunk!
@pavansai3235
@pavansai3235 3 жыл бұрын
what in the world is happening lol how did removing cv2 magically give u cv 3.3.1 stop blowing my mind
@IMSezer
@IMSezer 4 жыл бұрын
I cant find a fan for jetson in turkey :D if there is a turkish person, can they help me?
@KamalSehairi
@KamalSehairi 4 жыл бұрын
search for 4010 5v fan
@barisdokudur
@barisdokudur 4 жыл бұрын
Yanlış hatırlamıyorsam bir videoda lattepanda fanının uyumlu olduğunu görmüştüm. Ölçülerini kontrol edebilirsiniz.
@markhache6756
@markhache6756 4 жыл бұрын
I have a spare fan in IZMIR
@codecage9333
@codecage9333 5 жыл бұрын
Too short to have waited a whole week. I would have liked this lesson and the next lesson, #11 combined. Together they would have still come in at about the one hour mark, which is probably the max length you would want per lesson, so it would have made for a much more fulfilling week's wait. And as you seem to be ahead on queuing up the lessons from the fact I can see up to lesson 16 in the side bar, it seems as if that would have been something easily accomplished. While I understand your weekly videos paced for the absolute beginner, and with which I agree, I think we all could have benefited with a little more "meat" with this lesson 10 meal.
AI on the Jetson Nano LESSON 12: Moving Video Windows in OpenCV
25:54
Paul McWhorter
Рет қаралды 21 М.
Thank you Santa
00:13
Nadir Show
Рет қаралды 35 МЛН
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 3,1 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 11 МЛН
AI on the Jetson Nano LESSON 15: Drawing Shapes on Video in OpenCV
28:13
Two robots debate the future of humanity
23:12
RISE Conf
Рет қаралды 8 МЛН
The Simple Solution to Traffic
5:14
CGP Grey
Рет қаралды 40 МЛН
Much bigger simulation, AIs learn Phalanx
29:13
Pezzza's Work
Рет қаралды 2,8 МЛН