Giter VIP home page Giter VIP logo

brisque's Introduction

RGJ's Portfolio RGJ's Linkdein RGJ's Twitter RGJ's Github RGJ's Instagram RGJ's RSS

aboutMe.py

rehan_guha = {
    'pronouns': "he / him",
    'askMeAbout': ["A.I.", "Machine Learning", "Data Science", 
                    "Deep Learning", "Philosophy"],
    'domain': {
        'telecom': ["Time_Series", "Structured_Data"],
        'banking': ["Structured_Data", "Semi_Structured_Data"],
        'insurance': ["Computer_Vision", "NLP"],
        'litigation': ["Structured_Data", "Topic_Modelling"],
        '...': [...]
    },
    'algorithms': {
        'timeseries': ['Arima+', 'LSTM', 'FBProphet', '...'],
        'classical_ml': ['probabilistic_modelling', 'graphical_modelling', 
                            'xgboost', 'lightgbm', '...'],
        'deep_learning': ['CNN', 'LSTM', 'CRF', 'RBMs', 'SOMs', '...'],
        'others': ['LDA', 'GANs', 'Autoencoders', '...']
    },
    'framework': ['tensorflow', 'H2o.ai', 'sklearn'],
    'cloud': ['gcp', 'aws']
}

brisque's People

Contributors

andrew-ma-2001 avatar rehanguha 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

Watchers

 avatar  avatar  avatar

brisque's Issues

[Feature] Add Support for Single Channel Images

Is your feature request related to a problem? Please describe.

Often when performing operations on images our solution will greyscale an image on importing it. In my own project I have a set of images I want to run several image metrics on. So i have already turned the images from multi-channel to single-channel. However now when I call score(image) I get an error saying the image cannot be grayscaled.

Describe the solution you'd like

The 'Score' method should check the channels of an image and grayscale it only if the channels > 1. else it should proceed without attempting to grayscale the already single channel image.

Describe alternatives you've considered

Adding fake channels to my grayscale so it appears to be multichannel

Adding Ndarray image as input

Hi, wonderful job.
I was wondering if adding an input of Ndarray image would be more useful in practice. I personally use brisque to read images from videos, so that in this way using Ndarray image as input seems more friendly to users.
No worries, I already change the source code to achieve reading Ndarray, but I think for further improvement, maybe my suggestion could be helpful.

Max/Min value of brisque

Hello, Thank you for providing this amazing repository.

I was wondering if there are min and max values for brisque score.

Thanks in advance.

AttributeError: Module 'scipy' has no attribute 'ndarray'

image

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
pip install brisque numpy scipy scikit-image Pillow

import imquality.brisque as brisque
import PIL.Image
path = 'page_22.png'
img = PIL.Image.open(path)
brisque.score(img)

Expected behavior

N/A

Screenshots
up

Log

AttributeError: Module 'scipy' has no attribute 'ndarray'
Additional context
Add any other context about the problem here.

Module 'scipy' has no attribute 'ndarray'

Describe the bug

I have an error message during code run;

File "\Python311\site-packages\libsvm\svm.py", line 91, in gen_svm_nodearray elif scipy and isinstance(xi, scipy.ndarray): ^^^^^^^^^^^^^ File "\Python311\site-packages\scipy_init_.py", line 152, in getattr raise AttributeError( AttributeError: Module 'scipy' has no attribute 'ndarray'

To Reproduce
Steps to reproduce the behavior:

  1. pip install brisque
  2. run example from readme

Expected behavior
get score

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.