Learn how to parse EXIF data using Metadata Extractor.
- [Instructor] In this video, we'll implement…the image file metadata extraction procedures…by looking at their EXIF data.…We have IntelliJ open, let's open…our start folder for this project.…I'll go to Desktop, and then Exercise Files,…Chapter 5, and the start folder, click OK.…Now I have the project open in the tree over here,…I'll look in the source folder, image_meta,…and then double-click exif.clj.…First we'll need to define our namespace,…so I'll call it image-meta.exif.…
Now for our require expression,…I'll require clojure.java.io, I'll alias it to io,…and we'll use this for file operations.…Next I'll make an import expression…and we'll need to import the Java library we're working with…which is the metadata extractor.…I'll pull that in from com.drew.imaging…and from there I'll need this class ImageMetadataReader,…and the exception, ImageProcessingException.…
For our first function, I'd like to implement…a function that takes a file name,…and returns the exif data as a map of data.…We can call this exif from filename,…
Skill Level Intermediate
1. Problem 1: Exploring Lake Pend Oreille
2. Problem 2: Image Analysis
3. Problem 3: Eight Queens
4. Problem 4: Accessing Peripherals
5. Problem 5: Recursion and Directories
6. Problem 6: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.