Here, I use opencv imread read the all the image without any problem while it raise out Corrupt Data: xxx extraeous bytes before marker 0xd9 when training with neural networks. How could I get out these corrupt data(just select out, do not need repair or any other operations).
How to check a jpeg image whether corrupt?
2.1k Views Asked by Jianzhong He At
1
There are 1 best solutions below
Related Questions in OPENCV
- segmentation fault: 11, extracting data in vector
- Disable OpenCL in OpenCV completely
- Python - Writing your own function with opencv giving an error
- Opengl Augmented Reality in Android from solvepnp
- OpenCv Multispectral Image openCV
- Displaying bitmap image on Android (OpenCV)
- Applying homography on non planar surface
- BackgroundSubtractor getBackgroundImage() function return empty Image
- How to choose good SURF feature keypoints?
- opencv python error: Assertion failed (size.width>0 && size.height>0)
- CIDetector to filter rectangle and get cropped image
- How to detect squares in video with OpenCV?
- Python OpenCV error: (-215) size.width>0 && size.height>0 in function imshow
- OpenCV algorithm of contours searching and creation of bounding rectagle
- OpenCV Opening/Closing shifts the positions of the pixels
Related Questions in CORRUPT
- convert a jpg file to UTF-8 without making it corrupt
- corrupt language file en_GB.po
- Generate PDF from base64 String PHP
- Access (.mdb) file corrupted during servlet write to the client
- Manually Backup FileZilla ftp details if FileZilla got Corrupted
- Every file is corrupted in project
- Resource file getting corrupted if something is changed
- git error on all repositories, pre-existing and brand new (error: bad index file sha1 signature fatal: index file corrupt)
- Rehash A Corrupt Git Repo
- Android image corruption when uploading via http
- Spring-data-neo4j-Neoclipse-Lucene corrupt index Exception
- Executable becomes invalid as data section exceeds 1 page
- Stack around variable 'inputValue' corrupted
- IBM Watson Text to Speech producing corrupt and near empty WAV output
- Pillow verify() not finding corrupt jpgs
Related Questions in IMREAD
- Read image from web MATLAB
- The difference between uint8 and double images when using imshow
- matlab url authentication for imread
- MATLAB loop through certain integers and in the order that I specify v2
- How does imread scale 12bit images?
- Using mahotas and imread package in python
- Python + opencv with PyCharm- 'opencv' has no attribute 'imread'
- how to send large RGB values as parameters to be read as a picture in python
- Load fingerprint image in python array
- How to catch CV2 errors with try - except statements in Python
- Image duplicates when using ipywidgets.interact to measure distances plotting with imread
- Module 'scipy.ndimage' has no attribute 'imread'
- Statistical meaning of pre-probability formula used in Python computer vision code? (matplotlib.image.imread)
- cv2.Imshow() show same channel color on different images
- Python list comprehension plt.imread does not work
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Since you only want to filter out the corrupt files, you can use a
try-exceptblock: