Giter Site home page Giter Site logo

pylsd's People

Contributors

primetang avatar tomohikoseven avatar vestri avatar ydlamba 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

pylsd's Issues

No such file or directory: 'E:/codeProject/py/845480ntl.txt

File "D:\Program Files\pycharm\PyCharm 2020.1.1\plugins\python\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "D:\Program Files\pycharm\PyCharm 2020.1.1\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "E:/codeProject/py/LSD.py", line 9, in
lsd(gray)
File "C:\Users\yang\anaconda3\lib\site-packages\pylsd\lsd.py", line 22, in lsd
fp = open(temp, 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'E:/codeProject/py/845480ntl.txt'

Memory Leakage

Environment:
python:3.6.9
pylsd:ocrd-fork-pylsd == 0.0.3
OS: Linux16.04

from pylsd.lsd import lsd
img = cv2.imread("./a.jpg")
gray = cv2.cvtColor(img, cv2.COLOR_BGRA2GRAY)
lines = lsd(gray)

Memory leaks occur when as above code is used.

Import Error while trying to import

I installed the pylsd module using pip3 install pylsd

while trying to run import pylsd i get the below error

Unable to import the pylsd module

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/thalish/.virtualenvs/lib/python3.5/site-packages/pylsd/__init__.py", line 8, in <module>
    from lsd import lsd
ImportError: cannot import name 'lsd'

Does the code not work for python 3.x ?

TypeError: 'module' object is not callable

I get the following error when I try to run example_cv2.py

Traceback (most recent call last):
File "E:\pylsd\example\example_cv2.py", line 16, in
lines = lsd(gray)
TypeError: 'module' object is not callable

How to solve it?

Library Error

I installed pylsd library, however, I go this error

from lsd import lsd
ImportError: cannot import name 'lsd'

a try-except syntax error

I am just use pip3.6 to install the package,
but a try-except syntax error occurs when I import it.

pylsd/bindings/lsd_ctypes .py: line 34

except Exception, e:
                pass

fix:

except Exception as e:
                pass

Fix README.md

Fix README.md

  • from pylsd import lsd gives error TypeError: 'module' object is not callable.
    It should be from pylsd.lsd import lsd
  • Markdown headings are not rendering because they should be ### 1.
    not ###1. (No space).

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.