Checking Image Similarity on Python 3 on Alpine Linux

Asked 2 years ago, Updated 2 years ago, 67 views

I would like to prepare two types of photos (A and B) in Python, compare the parts of photos A and B, and return the coordinates of photos B if there is a high similarity, but I am having trouble using OpenCV due to OS reasons.

I would appreciate it if you could tell me how to replace OpenCV.

Additional
Environment
OS:Alpine Linux (iSH)
Python: 3.7.5
 
I would appreciate it if you could let me know if you have any other information you need.

python opencv image

2022-09-30 15:32

1 Answers

For Python, scikit-image is useful. For simple image processing, it is often implemented as a function.
I've never used it myself, but if it's a simple template matching like the one below, it seems that I can do it without having to write a difficult code.

However, there are quite a few functions that OpenCV does not have in the scikit-image, so I think you will need to implement them yourself when it comes to the crunch.NumPy and SciPy seem to be useful in such cases.


2022-09-30 15:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.