Giter Club home page Giter Club logo

sharpness_detection_autofocus's People

Contributors

averyjung39 avatar jessenliang avatar russwong89 avatar

Stargazers

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

Watchers

 avatar

sharpness_detection_autofocus's Issues

Where's the report

As you wrote in the readme, algorithmic details can be found in the report, "Development of a Contrast-Based Autofocus Algorithm using Numerical Methods". However, I couldn't find this report anywhere.
Could you provide the link of the report?

type error - list indices must be integers or slices, not float

On running cubic_spline.py in spyder 4.1.5. (python 3.8), an error comes up at line 53 A[row_count][4*row_count/2] = x[row_count/2]**3

TypeError: list indices must be integers or slices, not float

Checking the variable row_count just before that line states, that it is type int.
Which would mean that the type is changed within that line, causing the error.
I am quite new to coding, so I might be missing something obvious, but at this point I can’t make that bit of code run successfully.

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.