correct spelling in README and some files

This commit is contained in:
Xevion
2020-02-07 02:03:03 -06:00
parent c77c6eb00b
commit 63539390a0
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ The basic process for each photo be tagged is as follows
4. Open and send the file to Google using the Vision API with `google_cloud.vision`
5. Compile and save the image's labels from Google
a. JPEGs use the `iptcinfo3` module to save
b. RAW files use a messy implemetation of the `xml` module to read and write tags (experimental) from and to the XMP Sidecar file used by Adobe
b. RAW files use a messy implementation of the `xml` module to read and write tags (experimental) from and to the XMP Sidecar file used by Adobe
6. Delete the temporary (optimized) file and move the original image to the output folder.
The command used to access this program is `phototag run`, which would process and label all eligible images in the working directory.
@@ -56,7 +56,7 @@ Once you're done, you can use `pip uninstall phototag` to remove the package.
## To-do
* Implement async or parallel processing to conver & tag photos faster or in batches
* Implement async or (proper) parallel processing to convert & tag photos faster or in batches
* Move to more precise logging system
* Test with different RAW file formats
* Stress test use with Adobe sidecar files

View File

@@ -100,7 +100,7 @@ class FileProcessor(object):
info = iptcinfo3.IPTCInfo(os.path.join(INPUT_PATH, self.file_name))
info["keywords"].extend(labels)
info.save()
# Remove the weird ghsot file created by this iptc read/writer.
# Remove the weird ghost file created by this iptc read/writer.
os.remove(os.path.join(INPUT_PATH, self.file_name + "~"))
# Copy dry-run