{"id":18448979,"url":"https://github.com/davydany/cv_utils","last_synced_at":"2025-04-15T11:30:07.113Z","repository":{"id":74317303,"uuid":"13970528","full_name":"davydany/cv_utils","owner":"davydany","description":"Scripts that help make working with OpenCV a lot easier.","archived":false,"fork":false,"pushed_at":"2014-03-10T05:55:50.000Z","size":1276,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T13:31:50.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davydany.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-29T22:22:50.000Z","updated_at":"2014-03-10T05:55:49.000Z","dependencies_parsed_at":"2023-02-24T10:45:21.158Z","dependency_job_id":null,"html_url":"https://github.com/davydany/cv_utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydany%2Fcv_utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydany%2Fcv_utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydany%2Fcv_utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davydany%2Fcv_utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davydany","download_url":"https://codeload.github.com/davydany/cv_utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249060781,"owners_count":21206391,"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":[],"created_at":"2024-11-06T07:17:52.762Z","updated_at":"2025-04-15T11:30:07.072Z","avatar_url":"https://github.com/davydany.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"cv_utils\n========\n\nScripts that help make working with OpenCV a lot easier.\n\nRequires\n--------\n\nOpenCV Installed\n\nUtilities\n---------\n\n###dcv_createsamples\n\n![Screenshot of dcv_createsamples](http://davydany.s3.amazonaws.com/do_not_delete/dcv_createsamples_screenshot.png)\n\nAs a wrapper for opencv_createsamples, this utility allows creating samples in\na folder in a batch automated way.\n\n    positional arguments:\n    positives             Path to folder containing source images, or file\n                          listing paths to source images.Source object image(s)\n                          - (e.g., a company logo).\n\n    optional arguments:\n    -h, --help            show this help message and exit\n    --bg BG               Background description file; contains a list of images\n                          which are used as a background for randomly distorted\n                          versions of the object.\n    --num NUM             Number of positive samples to generate.\n    --bgcolor BGCOLOR     Background color (currently grayscale images are\n                          assumed);The background color denotes the transparent\n                          color.Since there might be compression artifacts, the\n                          amount of color tolerance can be specified by\n                          -bgthresh.All pixels withing bgcolor-bgthresh and\n                          bgcolor+bgthresh range are interpreted as transparent.\n    --bgthresh BGTHRESH   background_color_threshold\n    --inv                 If specified, colors will be inverted.\n    --randinv             If specified, colors will be inverted randomly.\n    --maxidev MAXIDEV     Maximal intensity deviation of pixels in foreground\n                          samples.\n    --maxxangle MAXXANGLE\n                          max_x_rotation_angle\n    --maxyangle MAXYANGLE\n                          max_y_rotation_angle\n    --maxzangle MAXZANGLE\n                          max_z_rotation_angle\n    --show                Useful debugging option. If specified, each sample\n                          will be shown. Pressing Esc will continue the samples\n                          creation process without.\n    --width WIDTH         Width (in pixels) of the output samples.\n    --height HEIGHT       Height (in pixels) of the output samples.\n    ---info INFO          Description file of marked up images collection.\n\n\n**NOTE: ** If you use the utility to select the objects you want to detect, here are further instructions:\n\n- Pressing ESC will cause the program to stop, which can let you restart the program\n- Pressing ENTER will allow you to advance to the next image\n- Using the mouse, you can select the objects you want to select for creation of the samples.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavydany%2Fcv_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavydany%2Fcv_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavydany%2Fcv_utils/lists"}