Giter Site home page Giter Site logo

cvdl-homework-1's Introduction

CVDL-Homework-1

Objective

  1. Camera calibration

    • Find chessboard corners
    • Find the intrinsic, extrinsic and distortion parameters of the camera
    • Use the parameters to undistort the image
  2. Augmented reality

    • Transform real world coordinates to image coordinates
    • Draw given word on the image
  3. Stereo Disparity Map

    • calculate the disparity map of the given stereo image pair
    • draw corresponding points on the image pair according to the disparity map
  4. SIFT

    • Find the keypoints and descriptors of the given image
    • Match the keypoints of the given image pair
  5. Train VGG19_bn on CIFAR10

Environment

  • Python 3.8

Setup

  1. Install dependencies

    pip install -r requirements.txt --no-cache-dir

    Windows 要裝有 CUDA 的 Pytorch 再跑以下指令

    pip3 install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

    MacOS 裝 PyQt5 遇到問題的話,建議用 conda 裝

    conda install -c anaconda pyqt
  2. Check whether torch is using GPU

    python test_gpu.py
  3. Put pretrained weights vgg_16_bn_final.pth in ./weights/

Run

python app.py

Train

After training, the weights will be saved in ./weights/ and the result chart will be saved in ./result.png

python train.py

cvdl-homework-1's People

Contributors

roykesydon 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.