{"id":15551283,"url":"https://github.com/veedata/memories","last_synced_at":"2025-04-23T20:45:19.285Z","repository":{"id":45646996,"uuid":"366310861","full_name":"veedata/memories","owner":"veedata","description":"Library to convert clubbed images into separated images (with metadata), and beautify them using borders and other options.","archived":false,"fork":false,"pushed_at":"2022-03-11T01:51:50.000Z","size":17552,"stargazers_count":7,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T05:53:36.797Z","etag":null,"topics":["image-processing","image-segmentation","metadata-management","opencv","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/memories/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/veedata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-11T08:31:59.000Z","updated_at":"2022-10-24T00:37:24.000Z","dependencies_parsed_at":"2022-09-02T08:13:17.869Z","dependency_job_id":null,"html_url":"https://github.com/veedata/memories","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veedata%2Fmemories","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veedata%2Fmemories/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veedata%2Fmemories/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veedata%2Fmemories/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veedata","download_url":"https://codeload.github.com/veedata/memories/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250513380,"owners_count":21443200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-processing","image-segmentation","metadata-management","opencv","python"],"created_at":"2024-10-02T14:03:54.901Z","updated_at":"2025-04-23T20:45:19.269Z","avatar_url":"https://github.com/veedata.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Memories\n======\n\n[![PyPi](https://img.shields.io/pypi/v/memories.svg)](https://pypi.org/project/memories/)\n[![Documentation Status](https://readthedocs.org/projects/memories/badge/?version=latest)](https://memories.readthedocs.io/en/latest/?badge=latest)\n[![License](https://img.shields.io/github/license/veedata/album-manager)](https://github.com/veedata/album-manager/blob/main/LICENSE.txt)\n[![Language grade: Python](https://img.shields.io/lgtm/grade/python/github/veedata/album-manager)](https://lgtm.com/projects/g/veedata/album-manager/context:python)\n[![Downloads](https://pepy.tech/badge/memories)](https://pepy.tech/project/memories)\n\nDescription\n------\n\nMemories is an easy to use package that helps to seperate clustered images from files and helps add metadata to files. The documentation is in progress and can be found [here](https://memories.readthedocs.io/en/latest).\n\nInstallation\n------\n\n    $ pip install memories\n\nHow to Use:\n------\nThere are 8 functions for the time being:\n* ``open_image``: Returns the Image object to you so that it can be passed around to other functions\n* ``divided_crop``: Takes 3 inputs, the path to the image, the path where the outful folder should be and the number of images present in the input file. It performs the task of dividing a single image into multiple smaller ones. \n* ``add_date``: Takes input as the image path and the datetime to be added. it will add date when the image was originally taken.\n* ``bulk_add_date``: Same as addDate, except it will add date to all images in a folder. The inputs are the folder path and datetime.\n* ``save_image``: Converts a single image into another format\n* ``make_page``: Creates a year book like page in HTML\n* ``make_border``: Creates a border around the image\n* ``rotate_image``: Returns a rotated image\n\nExample\n------\n  \n    import memories\n\n    # Add meta data to images\n    memories.add_date(\"./image-1.jpg\", \"27/04/2021 12:00:03\")\n    memories.bulk_add_date(\"./\", \"27/04/2021 12:00:03\")\n \n    memories.make_page([\"./folder1/image1.png\", \"./folder2/image2.jpg\"], [\"CSS\", \"Larry\"], [\"SASS\", \"Another line\"], \"./save_folder\")\n\n    image = memories.open_image(\"./image.png\")\n\n    memories.divided_crop(image, image_quantity = 6, bgr_value = [255, 255, 255])\n    # Normal squared borders\n    memories.make_border(image, \"normal\", bgr_value = [255, 255, 255], border_dimensions = [100, 100, 100, 100])\n    # Curved borders\n    memories.make_border(image, \"curved\", bgr_value = [255, 255, 255], border_dimensions = [100, 100, 100, 100], radius_dimensions = [100, 100, 100, 100])\n\n    memories.save_image(\"image.png\", \"path/to/save_folder/file.extention\")\n    # Save multiple images at once\n    memories.save_image([\"img-1.png\", \"img-1.jpg\", \"img-2.jpg\"], \"path/to/save_folder/file.extention\")\n    # Save multiple images as a pdf\n    memories.save_image([\"img-1.png\", \"img-1.jpg\", \"img-2.jpg\"], \"path/to/save_folder/file.pdf\")\n\n\n\nFeatures\n------\n\nCurrent features that are present are: \n1. Crop out basic implementation\n2. Add Date and time metadata \n3. Save as PDF, PNG, JPG\n4. Basic Scrapbook implmentation\n5. Documentation\n6. Border\n\nFuture features can also be found [here](https://github.com/veedata/album-manager/projects):\n1. Collage\n2. Image Age identifyer\n\nLicense\n------\nThis software is released under the MIT license, see [LICENSE.txt](https://github.com/veedata/album-manager/blob/main/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveedata%2Fmemories","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveedata%2Fmemories","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveedata%2Fmemories/lists"}