GithubHelp home page GithubHelp logo

pycv's People

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

pycv's Issues

green frame aren´t for kalman (surveillance demo main.py)

in book (chapter 8, surveillance demo) says
"In this screenshot, the blue rectangle is the CAMShift detection and the green rectangle is the Kalman filter prediction with its center at the blue circle."

but when look the the code, green rectangles are contours, not tracking using camshift/kalman

in chapter 3 the hough-line

this is some wrong with me,i run you code ,but this is not right for you example,have no line int the picture,
i do not know what is wrong
please tell me ,thank you very much!

install python opencv

what should I do to install opencv python on linux, I already compiled the opencv from source.

Assertion from car_sliding_windows in carChapter7

Hi,

I've tried to run the car_sliding_windows directly from the last repo here.
The issue I currently have is : after checking the path and the existance of the images files, I've anyway the following error:

396
397
398
399
OpenCV Error: Assertion failed (The data should normally be NULL!) in allocate, file /home/david/OpenCV/opencv-3.1.0/modules/python/src2/cv2.cpp, line 163
Traceback (most recent call last):
File "car_sliding_windows.py", line 17, in
svm, extractor = car_detector()
File "/home/david/OpenCV/pycv/chapter7/car_detector/detector.py", line 43, in car_detector
extract_bow.setVocabulary(vocabulary)
cv2.error: /home/david/OpenCV/opencv-3.1.0/modules/python/src2/cv2.cpp:163: error: (-215) The data should normally be NULL! in function allocate

This have been done under these conditions :

  • changed all path strings: "/home/d3athmast3r/(....)" to reflect mine. This affects : detector.py, car_sliding_windows.py, bow.py, detect_hog_svm.py
  • I'm running python 2.7.12 under virtualenwrapper
  • under the same Virtualenv I've been compiled OpenCV 3.1.0 with the contribs of the same version

Chapter 3 -- hpf.py

    k3 = ndimage.convolve(img, kernel_3x3)
  File "C:\Anaconda2\lib\site-packages\scipy\ndimage\filters.py", line 697, in convolve
    origin, True)
  File "C:\Anaconda2\lib\site-packages\scipy\ndimage\filters.py", line 530, in _correlate_or_convolve
    raise RuntimeError('filter weights array has incorrect shape.')
RuntimeError: filter weights array has incorrect shape.

Looks like scipy does not like the array, maybe I'm a newer version. Alternatively I wanted to use the VM to ensure I don't have any newer version however I could not find a the VM to download per the book info.

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.