All Projects → vcg-uvic → sportsfield_release

vcg-uvic / sportsfield_release

Licence: other
Code release for WACV 2020, "Optimizing Through Learned Errors for Accurate Sports Field Registration"

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
processing
702 projects

Projects that are alternatives of or similar to sportsfield release

Imageprocessing
MicaSense RedEdge and Altum image processing tutorials
Stars: ✭ 139 (+183.67%)
Mutual labels:  camera-calibration
three-fspy-camera-loader
Script for importing fSpy camera data into three.js.
Stars: ✭ 16 (-67.35%)
Mutual labels:  camera-calibration
RWHEC-Tabb-AhmadYousef
This code provides methods for robot-world, hand-eye(s) calibration, updated in June 2018..
Stars: ✭ 32 (-34.69%)
Mutual labels:  camera-calibration
Sltk
An OpenCV-based structured light processing toolkit.
Stars: ✭ 151 (+208.16%)
Mutual labels:  camera-calibration
pose-estimation-3d-with-stereo-camera
This demo uses a deep neural network and two generic cameras to perform 3D pose estimation.
Stars: ✭ 40 (-18.37%)
Mutual labels:  camera-calibration
RGBDAcquisition
A uniform library wrapper for input from V4L2,Freenect,OpenNI,OpenNI2,DepthSense,Intel Realsense,OpenGL simulations and other types of video and depth input..
Stars: ✭ 56 (+14.29%)
Mutual labels:  camera-calibration
Stag
STag: A Stable Fiducial Marker System
Stars: ✭ 75 (+53.06%)
Mutual labels:  camera-calibration
vision-based estimations
Vision-based Robot 3D Pose and Velocities Estimations
Stars: ✭ 32 (-34.69%)
Mutual labels:  camera-calibration
camera calib matlab
Camera calibration with matlab
Stars: ✭ 22 (-55.1%)
Mutual labels:  camera-calibration
DREAM
DREAM: Deep Robot-to-Camera Extrinsics for Articulated Manipulators (ICRA 2020)
Stars: ✭ 109 (+122.45%)
Mutual labels:  camera-calibration
Gyroflow
Video stabilization using gyro data from GoPro or external logs
Stars: ✭ 204 (+316.33%)
Mutual labels:  camera-calibration
Computer Vision Guide
📖 This guide is to help you understand the basics of the computerized image and develop computer vision projects with OpenCV. Includes Python, Java, JavaScript, C# and C++ examples.
Stars: ✭ 244 (+397.96%)
Mutual labels:  camera-calibration
CameraCalibTools
List of Camera Calibration Tools + Patterns
Stars: ✭ 64 (+30.61%)
Mutual labels:  camera-calibration
Extrinsic lidar camera calibration
This is a package for extrinsic calibration between a 3D LiDAR and a camera, described in paper: Improvements to Target-Based 3D LiDAR to Camera Calibration. This package is used for Cassie Blue's 3D LiDAR semantic mapping and automation.
Stars: ✭ 149 (+204.08%)
Mutual labels:  camera-calibration
VideoStitching
solve real time video stitching problem: 4 camera example by opencv surf
Stars: ✭ 42 (-14.29%)
Mutual labels:  camera-calibration
Lidar camera calibration
Light-weight camera LiDAR calibration package for ROS using OpenCV and PCL (PnP + LM optimization)
Stars: ✭ 133 (+171.43%)
Mutual labels:  camera-calibration
calico
code for: Calibration of Asynchronous Camera Networks: CALICO
Stars: ✭ 52 (+6.12%)
Mutual labels:  camera-calibration
Structured-Light-Laser-Stripe-Reconstruction
Reconstructs a 3D stripe on the area of an object on which a laser falls as seen by the camera
Stars: ✭ 35 (-28.57%)
Mutual labels:  camera-calibration
camera-fusion
Multiple cameras calibration and fusion with OpenCV Python.
Stars: ✭ 27 (-44.9%)
Mutual labels:  camera-calibration
zhang
Numpy implementation of Z. Zhang's camera calibration algorithm
Stars: ✭ 36 (-26.53%)
Mutual labels:  camera-calibration

Optimization Based Image Registration

Optimizing Through Learned Errors for Accurate Sports Field Registration - WACV 2020

This repository is a reference implementation for the inference part of "Optimizing Through Learned Errors for Accurate Sports Field Registration", WACV 2020. For more details, please refer to our WACV 2020 or [arXiv] paper. A video showing the results is available [here]

teaser

The released code is freely available for free non-commercial academic research use, and may be redistributed under these conditions. Any commercial use is prohibited.

Note: We decided to not release the training code. Sorry for any inconvenience.

Patent Pending

The Optimization Based Image Registration is patent protected (pending applications US 62/850,910; US 16/049,546; EP17746676.0; CA 3,012,721)[here] and shall not be used for any commercial application. For information about licensing please contact If you are interested in a commercial license, contact Sportlogiq or SLiQ Labs.

Content of the repository

  1. The trained weights (both initial guess net, and loss surface net) for soccer.
  2. The inference code for soccer.
  3. A Jupiter notebook to for simple user interaction.
  4. The code to generate a soccer field template(Processing language) and a h5 format test dataset used in the paper.

Installation

This implementation is based on Python3 and PyTorch.

You can install the environment by: conda env create -f environment.yml

Activate the env by: conda activate sportsfield

Pretrained Weights

We provide the pretrained weights for soccer on Google drive. Download "out.zip", and extract all the content to ./out, such that the ./out folder contains pretrained_init_guess and pretrained_loss_surface .

Play with jupyter notebook

Users can overlay the template to a soccer image or video using the notebook.

Evaluation

Users can simply run: python test_end2end.py loss_surface init_guess --load_weights_upstream "pretrained_init_guess" --load_weights_error_model "pretrained_loss_surface" --batch_size 32 to start the evaluation.

A reference evaluation result is provided for comparison:

----- Summary -----
original IOU part mean: 0.90211654
original IOU part median: 0.91872334
original IOU whole mean: 0.8406853
original IOU whole median: 0.857767
optimized IOU part mean: 0.9530167
optimized IOU part median: 0.9701195
optimized IOU whole mean: 0.9019278
optimized IOU whole median: 0.9253305
----- -----
spent 290.74491572380066 seconds for 186 images
1.5631447081924768 seconds per single image
----- End -----

Citation

If you use this code in your research, cite the paper:

@inproceedings{jiang2020optimizing,
author={Wei Jiang and Juan Camilo Gamboa Higuera and Baptiste Angles and Weiwei Sun and Mehrsan Javan and Kwang Moo Yi},
booktitle={2020 IEEE Winter Conference on Applications of Computer Vision (WACV)},
title={Optimizing Through Learned Errors for Accurate Sports Field Registration},
year={2020},
organization={IEEE}
}

License

The released code is freely available for free non-commercial academic research use, and may be redistributed under these conditions. Please, see the license for further details. If you are interested in a commercial license, contact Sportlogiq or SLiQ Labs for licensing information.

Note: The Optimization Based Image Registration is patent protected (pending applications US 62/850,910; US 16/049,546; EP17746676.0; CA 3,012,721) and shall not be used for any commercial application.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].