Coder Social home page Coder Social logo

pyiqa's People

Contributors

brumawen avatar

Watchers

 avatar  avatar

pyiqa's Issues

AttributeError: 'str' object has no attribute 'shape'

File "I:\Downloads\IQA\pyiqa\src\main.py", line 13, in
score.ComputeIqaScore(images[0], None)
File "I:\Downloads\IQA\pyiqa\src\iqascore.py", line 42, in ComputeIqaScore
(result[12]) = self.__checkSpotNoise(frontImage, frontHist)
File "I:\Downloads\IQA\pyiqa\src\iqascore.py", line 241, in __checkSpotNoise
shape = image.shape
AttributeError: 'str' object has no attribute 'shape'

I found the problem when I run this code.
I fixed 42 line in ComputeIqaScore such as the following.

(result[12]) = self.__checkSpotNoise(front, frontHist)

[1 2 2 2 2 2 0 2 2 0 2 2 2 0 0 2]
succeed in run.

I also tested my check image with ClearCheck21 IQA.exe, which said 'All passed'
thanks.

run problem

File "/usr/local/lib/python3.5/runpy.py", line 179, in _run_module_as_main
sys.exit(msg)
SystemExit: /usr/local/bin/python3: No module named ages

I found problem when I run this code. how to resolve it? thank you!

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.