Skip to content

A way to determine the direction in which you need to move the image so that the image matches the specified image

Notifications You must be signed in to change notification settings

kodinkod/shifter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shifter notebook

A way to determine the direction in which you need to move the image so that the image matches the specified image. Use SIFT technology.

test test

Quickstart

Place the image in the "data" folder query_1.jpg and target_1.jpg -> run detect_shift.ipynb

Description

  1. use sift for detect keypoint on target and querry image.
  2. use knnMather; Match target keypoint and querry keypoint.
  3. Calculate dX=sum(dx1, dx2, .. ), dY=sum(dy1, dy2, .. ) ->cos, sin, and show shift.

keypoint = (x, y)

dx = x2-x1; x2 - target x, x1 - target y;

info

More test

test test test test test test test test

About

A way to determine the direction in which you need to move the image so that the image matches the specified image

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published