Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Image Classification :: Reading and Loading Images in R

$
0
0

@akamboj wrote:

I’m getting below error while reading the images-

Error in readJPEG(x, …) : JPEG decompression error: Not a JPEG file: starts with 0x89 0x50

As I have all the images in JPEG format but when I used the image_read() function from the magick package in R, I found that some of the images having PNG format.

So, How to find all those images where there is a change in extension? Also, how to convert these type of images in pixel format?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles