# Tag Info

Accepted

### How to replace NaN values for image data?

Given you have images stretched out as columns in a table with ~48,500 rows, I am assuming you have the raw images that are 220x220 in dimension. You can use a function available via OpenCV called <...
• 14k

### Difference between normalization and zero centering

what is the difference between these two steps? In that specific Notebook that you linked, normalization means: shrink a numerical distribution in the [0,1] interval. It is commonly referred to as ...
• 5,697
Accepted

### Medical Image Analysis

Check out this blog post. There you find a summary of two fairly new papers from the field, which might start you off. One about semantic segmentation, the other about a classification problem.
• 1,485
Accepted

### Finding outliers in Image dataset

Detecting outliers is actually not an easy task. You can detect outliers by looking at uncertainty measurements. Nevertheless there are different kind of outliers. For example an outlier can be an out ...
• 901

### How can I detect blocks of text from scanned document images

There are two options : Scan the images with a higher DPI. This should accentuate vertical separation between paragraphs. Train a Deep learning model for Text Detection in scene. Examples : https://...
• 2,191

### How to Extract Information from the Image(PNG)

If all of your images are similar to this one(or have a small set of possible designs), you can simply reference the location (pixel-wise) on the image where this fields are and slice it. After ...

### Data Quality Assessment in Image Data

I am building on the first part of @Dylan's answer: For general items like "dogs" pre-trained models are easily available. A good starting point is ImageNet. There are plenty of pre-trained models ...
• 4,877

### Cannot reshape array of size 12288 into shape (64,64)

$64\times 64 = 4096$. You're short about $8000$ pixels.
• 2,915
Accepted

### Image Matching for similar products

Yes, it is technically possibly. The easiest algorithm you can try out is siamese networks. Basically siamese networks try to learn a similarity measurement of two inputs (images, sounds, whatever) ...
• 901

### Why image is more blurred through PIL?

Some parts of the code are missing that might contain clues (e.g. you plot method would only plot random noise, as it stands). What might be happening is that you are showing the image in matplotlib ...
• 14k

### How to replace NaN values for image data?

There are multiple ways to go after this. You can do mean imputation, median imputation, mode imputation or most common value imputation. Calculate one of the above value for either rows or columns ...

### How to replace NaN values for image data?

for any (x,y) if NAN you can impute to average of surrounding pixels as: ...
• 54

### Finding outliers in Image dataset

BiGAN, Bi-directional GAN(variation of GAN(Generative Adversarial Network)) can be explored for anomaly detection. I have used for my use case. Since I dont have large image dataset, my results are ...
• 1,214

### How can I detect blocks of text from scanned document images

Have you looked into Tesseract (and its Python wrapper/interface: pytesseract)? I don't guarantee that it will solve your problems entirely, but it offers bounding box and OCR features. On this ...
• 340

### How and Why to rescale image range between [0,1] and [-1,1]

You can use the following scalings $$x’=\dfrac{x}{255} \qquad (1)$$ $$x’=\dfrac{x-127.5}{127.5} = \dfrac{x}{127.5}-1 \qquad (2)$$ for rescaling to $[0,1]$ or $[-1,1]$. The rescaling of inputs tries ...
• 1,868

### A Question: is it possible for me to create an AI that learns to play games which I did not create?

As far as I know you might archieve this with Reinforcement Learning. But there are some limitations in this approach: You have to train your algorithm a long time for even learning to press a button. ...
• 139

### Does white balance correction improve the performance of visual object detection?

I don't know about any papers, though making your objects more distinct should definitely help your model to learn proper filters. One thing to keep in mind though is your production data. Will you be ...
• 796

### Why do we use different image processing at train and test time for an image classification tasl

The key difference is that for training the preprocessing serves the purpose of data augmentation: it increases variance in the training data and thereby helps to better generalize. That is why you ...
• 4,877
Accepted

### How to add jpg images information as a column in a data frame

I assume you a list of the filenames called movie_images ...
• 14k
Accepted

### ValueError: Shapes are incompatible when fitting using ImageDataGenerator

Have you tried setting class_mode='categorical' in your generators? I believe class_mode='sparse' works when your loss function ...
• 422

### Canny edge detection not working on Gaussian blurred images

You don't have to blur your image before passing it to Canny. OpenCv's implementation already includes a blurring step. So by passing a blurred image, you're ...
• 564

### Does resizing the image size, reduce the quality of the images in CNN?

Of course, making them smaller will cause loss of information. Since before you had N x M data points for each image to describe the content of the image, but after resizing you will have n x m (Where ...
• 1,128

### How many images are generated when ImageDataGenerator is used, and when data augmentation is included as a part of the model?

In one epoch - It's the number of images in your Directory or the DataFrame In case of a custom Generator. It will be batch_size * steps_per_epoch You may check ...
• 5,204
1 vote

### How to Extract Information from the Image(PNG)

It's a pretty broad question, but maybe this and to a lesser extent this can help you get started.
• 1,485
1 vote

### Medical Image Analysis

I would recommend the brand new "AI for Medical Diagnosis" course on Coursera. In this course, you will learn how to apply Machine Learning (ML) techniques to concrete problems in modern ...
1 vote

### How to make a Python code execute on GPU and not CPU

You may apply Wolfram Language to your project. There is a free Wolfram Engine for developers and with the Wolfram Client Library for Python you can use these functions in Python. Either the ...
• 695
1 vote
Accepted

### Image features (spectral bands) other than RGB for image analysis

I think what you are looking for is called a colour space. There are multiple available, and each of them was created to solve a certain problem. The RGB colour space is the most common I guess, ...
• 186
1 vote

I understand the data you have is just a bunch of unlabeled images of tires and you need to predict the tread depth. Your solution 1 requires a different dataset of labeled images. But if you had ...
• 873
1 vote
Accepted

### How to retrieve images from a url in a pandas dataframe and store them as PIL object in a new column

I just changed the User-agent in the for loop so that now the request line in the loop is: ...
1 vote

### Keras Model question for Pre trained model extension

In transfer learning techniques, if you are adding new layers always make sure to compile your model. As your project is based on finding similarity of the image my suggestion is to do only flatten ...
• 371

Only top scored, non community-wiki answers of a minimum length are eligible