Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatten images #26

Open
teolemon opened this issue Feb 28, 2018 · 2 comments
Open

Flatten images #26

teolemon opened this issue Feb 28, 2018 · 2 comments

Comments

@teolemon
Copy link
Member

teolemon commented Feb 28, 2018

What

  • Not AI per se, but need to flatten images (on bottles for instance) to enable better recognition on other projects

Part of

@yashpungaliya
Copy link

yashpungaliya commented Mar 1, 2018

Hi @teolemon we can use the imread function in scipy for flattening the images as follows-

from scipy.misc import imread
img = imread("imgname.jpg")
img.flatten()

@Anubhav-Bhargava
Copy link
Member

Anubhav-Bhargava commented Mar 8, 2018

@yashpungaliya I think we need to flatten image as in change the angle by which the image is taken, as you see in Google earth images. The above flatten function only converts the image from 2-D (grayscale) to 1-D array.

@teolemon teolemon added 🖼️ images ✨ enhancement New feature or request labels Oct 10, 2022
@teolemon teolemon removed the ✨ enhancement New feature or request label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To discuss and validate
Development

No branches or pull requests

3 participants