Coder Social home page Coder Social logo

murtazahassan / opencv-python-tutorials-and-projects Goto Github PK

View Code? Open in Web Editor NEW
919.0 919.0 603.0 27.46 MB

An easy to follow course of OpenCV using Python for beginners.

Home Page: https://www.youtube.com/channel/UCYUjYU5FveRAscQ8V21w81A/

Python 100.00%

opencv-python-tutorials-and-projects's People

Contributors

murtazahassan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencv-python-tutorials-and-projects's Issues

tracker not working

Even after install opencv-contrib-python tracker function is showing attribute error AttributeError: module 'cv2.cv2' has no attribute 'TrackerMOSSE_create'

I am using Windows 10
Opencv -v 4.0
python 3

Scaling Issue

The stackImages() function didn't scale the image even after the 'scale' parameter being specified.

Just change this line:

sizeW= imgArray[0][0].shape[1]
sizeH = imgArray[0][0].shape[0]

To:

sizeW= int(imgArray[0][0].shape[1] * scale)
sizeH = int(imgArray[0][0].shape[0] * scale)

and remove the other scale variables

'int' object is not subscriptable

Screenshot 2021-08-02 140319

Facing this error, I tried other ways after running through the stack channel.
After my trails, I downloaded complete code from your website and copy-pasted but facing same error

cv2.imshow error

Hand Tracking | OpenCV | python

Facing an error due to this command
cv2.imshow ('Image', img)

cv2.error: OpenCV(4.5.2) C:\Users\runneradmin\AppData\Local\Temp\pip-req-build-k1ohfcms\opencv\modules\highgui\src\window.cpp:404: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'cv::imshow'

When I comment out the above command, the script is running fine giving all the desired results but without the image.

I checked with the OpenCV versions
Uninstalled opencv from pip and reinstalled using Anaconda but no change.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.