{"id":34089561,"url":"https://github.com/okankop/vidaug","last_synced_at":"2026-04-06T07:02:16.678Z","repository":{"id":41811962,"uuid":"136959442","full_name":"okankop/vidaug","owner":"okankop","description":"Effective Video Augmentation Techniques for Training Convolutional Neural Networks","archived":false,"fork":false,"pushed_at":"2024-02-13T14:29:17.000Z","size":45458,"stargazers_count":411,"open_issues_count":12,"forks_count":79,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-12-16T17:24:55.377Z","etag":null,"topics":["augmentation","convolutional-neural-networks","deep-learning","deep-neural-networks","video-augmentation"],"latest_commit_sha":null,"homepage":null,"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/okankop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-11T17:32:27.000Z","updated_at":"2025-11-02T19:25:56.000Z","dependencies_parsed_at":"2024-06-21T05:36:29.901Z","dependency_job_id":null,"html_url":"https://github.com/okankop/vidaug","commit_stats":{"total_commits":18,"total_committers":6,"mean_commits":3.0,"dds":0.5,"last_synced_commit":"1c1ddf2640fe4a9171267d64ae5e3bd70c24d54a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/okankop/vidaug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okankop%2Fvidaug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okankop%2Fvidaug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okankop%2Fvidaug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okankop%2Fvidaug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okankop","download_url":"https://codeload.github.com/okankop/vidaug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okankop%2Fvidaug/sbom","scorecard":{"id":703895,"data":{"date":"2025-08-11","repo":{"name":"github.com/okankop/vidaug","commit":"1c1ddf2640fe4a9171267d64ae5e3bd70c24d54a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 3/18 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T05:55:28.297Z","repository_id":41811962,"created_at":"2025-08-22T05:55:28.297Z","updated_at":"2025-08-22T05:55:28.297Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["augmentation","convolutional-neural-networks","deep-learning","deep-neural-networks","video-augmentation"],"created_at":"2025-12-14T14:02:26.200Z","updated_at":"2026-04-06T07:02:16.665Z","avatar_url":"https://github.com/okankop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Video Augmentation Techniques for Deep Learning\nThis python library helps you with augmenting videos for your deep learning architectures.\nIt converts input videos into a new, much larger set of slightly altered videos.\n\n\n \u003cp align=\"center\"\u003e\u003cimg src=\"videos/combined.gif\" align=\"center\" width=\"640\" height=\"480\" title=\"Augmentations\" /\u003e\u003c/p\u003e\n\n\n  Original Video     \n  \n \u003cp align=\"center\"\u003e\u003cimg src=\"videos/original.gif\" align=\"center\" width=\"320\" height=\"240\" title=\"Original Video\" /\u003e\u003c/p\u003e\n\n\n## Requirements and installation\n\nRequired packages:\n* numpy\n* PIL\n* scipy\n* skimage\n* OpenCV (i.e. `cv2`)\n\nFor installation, simply use `sudo pip install git+https://github.com/okankop/vidaug`.\nAlternatively, the repository can be download via `git clone https://github.com/okankop/vidaug` and installed by using `python setup.py sdist \u0026\u0026 pip install dist/vidaug-0.1.tar.gz`.\n\n\n## Examples\n\nA classical video classification with CNN using augmentations on videos.\nTrain on batches of images and augment each batch via random crop, random crop and horizontal flip:\n```python\nfrom vidaug import augmentors as va\n\nsometimes = lambda aug: va.Sometimes(0.5, aug) # Used to apply augmentor with 50% probability\nseq = va.Sequential([\n    va.RandomCrop(size=(240, 180)), # randomly crop video with a size of (240 x 180)\n    va.RandomRotate(degrees=10), # randomly rotates the video with a degree randomly choosen from [-10, 10]  \n    sometimes(va.HorizontalFlip()) # horizontally flip the video with 50% probability\n])\n\nfor batch_idx in range(1000):\n    # 'video' should be either a list of images from type of numpy array or PIL images\n    video = load_batch(batch_idx)\n    video_aug = seq(video)\n    train_on_video(video)\n```\n\n\n\nThe videos below show examples for most augmentation techniques:\n\nAugmentation Type                   |  Augmented Video\n:----------------------------------:|:-------------------------:\nPiecewise Affine Transform          |  ![Piecewise Affine Transform](videos/elastic.gif?raw=true \"Piecewise Affine Transform\")\nSuperpixel                          |  ![Superpixel](videos/segmented.gif?raw=true \"Superpixel\")\nGausian Blur                        |  ![Gausian Blur](videos/blurred.gif?raw=true \"Gausian Blur\")\nInvert Color                        |  ![Invert Color](videos/inverted.gif?raw=true \"Invert Color\")\nRondom Rotate                       |  ![Rondom Rotate](videos/rotated.gif?raw=true \"Rondom Rotate\")\nRandom Resize                       |  ![Random Resize](videos/resized.gif?raw=true \"Random Resize\")\nTranslate                           |  ![Translate](videos/translated.gif?raw=true \"Translate\")\nCenter Crop                         |  ![Center Crop](videos/centercrop.gif?raw=true \"Center Crop\")\nHorizontal Flip                     |  ![Horizontal Flip](videos/flipped.gif?raw=true \"Horizontal Flip\")\nVertical Flip                       |  ![Vertical Flip](videos/vertflip.gif?raw=true \"Vertical Flip\")\nAdd                                 |  ![Add](videos/add.gif?raw=true \"Add\")\nMultiply                            |  ![Multiply](videos/multiply.gif?raw=true \"Multiply\")\nDownsample                          |  ![Downsample](videos/downsample.gif?raw=true \"Downsample\")\nUpsample                            |  ![Upsample](videos/upsample.gif?raw=true \"Upsample\")\nElastic Transformation              |  ![Elastic Transformation](videos/elasticTransformation.gif?raw=true \"Elastic Transformation\")\nSalt                                |  ![Salt](videos/salt.gif?raw=true \"Salt\")\nPepper                              |  ![Cropping](videos/pepper.gif?raw=true \"Pepper\")\nShear                               |  ![Shear](videos/shear.gif?raw=true \"Shear\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokankop%2Fvidaug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokankop%2Fvidaug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokankop%2Fvidaug/lists"}