GithubHelp home page GithubHelp logo

gautamsharma0095 / machine-learning-for-opencv-second-edition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/machine-learning-for-opencv-second-edition

0.0 1.0 0.0 155.79 MB

Machine Learning for OpenCV, Second Edition, published by Packt

License: MIT License

Jupyter Notebook 100.00%

machine-learning-for-opencv-second-edition's Introduction

Machine Learning for OpenCV

Binder

The content is available on GitHub. The code is released under the MIT license.

Running the Code

There are at least two ways you can run the code:

  • Using Binder (no installation required).
  • Using Jupyter Notebook on your local machine.

The code in this book was tested with Python 3.6.

Using Binder

Binder allows you to run Jupyter notebooks in an interactive Docker container. No installation required!

Launch the project: PacktPublishing/Machine-Learning-for-OpenCV-Second-Edition

Using Jupyter Notebook

You basically want to follow the installation instructions in Chapter 1 of the book.

In short:

  1. Download and install Python Anaconda. On Unix, when asked if the Anaconda path should be added to your PATH variable, choose yes. Then either open a new terminal or run $ source ~/.bashrc.

  2. Fork and clone the GitHub repo:

    • Click the Fork button in the top-right corner of this page.
    • Clone the repo, where YourUsername is your actual GitHub user name:
    $ git clone https://github.com/YourUsername/Machine-Learning-for-OpenCV-Second-Edition
    $ cd Machine-Learning-for-OpenCV-Second-Edition
    
    • Add the following to your remotes:
    $ git remote add upstream https://github.com/PacktPublishing/Machine-Learning-for-OpenCV-Second-Edition
    
  3. Create a conda environment for OpenCV-ML with all required packages:

    $ conda env create -f environment.yml
    
  4. Activate the conda environment. On Linux / Mac OS X:

    $ source activate OpenCV-ML
    

    On Windows:

    $ activate OpenCV-ML
    

    You can learn more about conda environments in the Managing Environments section of the conda documentation.

  5. Launch Jupyter notebook:

    $ jupyter notebook
    

    This will open up a browser window in your current directory. Navigate to the folder Machine-Learning-for-OpenCV-Second-Edition. The README file has a table of contents. Else navigate to the notebooks folder, click on the notebook of your choice, and select Kernel > Restart & Run All from the top menu.

Getting the latest code

If you followed the instructions above and:

  • forked the repo,
  • cloned the repo,
  • added the upstream remote repository,

then you can always grab the latest changes by running a git pull:

$ cd Machine-Learning-for-OpenCV-Second-Edition
$ git pull upstream master

Acknowledgment

This book was inspired in many ways by the following authors and their corresponding publications:

These books all come with their own open-source code - check them out when you get a chance!

machine-learning-for-opencv-second-edition's People

Contributors

aditya-ai avatar kirkdsouza avatar vishwesh5 avatar

Watchers

 avatar

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.