{"id":20663984,"url":"https://github.com/universaldatatool/udt-to-image-position","last_synced_at":"2026-02-02T03:32:45.401Z","repository":{"id":105784728,"uuid":"299346021","full_name":"UniversalDataTool/udt-to-image-position","owner":"UniversalDataTool","description":"Converts UDT region coordinates into image coordinates","archived":false,"fork":false,"pushed_at":"2020-09-28T17:57:51.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T19:29:35.542Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/UniversalDataTool.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}},"created_at":"2020-09-28T15:07:06.000Z","updated_at":"2020-09-28T17:57:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbf4b41b-8d26-45b9-be7e-420e0fb9173a","html_url":"https://github.com/UniversalDataTool/udt-to-image-position","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"2dfc08fd9e6ae559331f61c88165cca2100fe6dd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UniversalDataTool/udt-to-image-position","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fudt-to-image-position","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fudt-to-image-position/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fudt-to-image-position/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fudt-to-image-position/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UniversalDataTool","download_url":"https://codeload.github.com/UniversalDataTool/udt-to-image-position/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fudt-to-image-position/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261782326,"owners_count":23208902,"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-16T19:21:27.596Z","updated_at":"2026-02-02T03:32:45.288Z","avatar_url":"https://github.com/UniversalDataTool.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# udt-to-image-position\n\nThis module modifies a UDT dataset by converting all of the pixel coordinates into image coordinates.\n\nFor example, if there is a bounding box with a `centerX` of `0.5` in a UDT file, and the image is `500px` wide, it will convert the `centerX` to `250`. It will also add an `imageWidth` and `imageHeight` property to each sample.\n\n\u003e The UDT format only accepts percent coordinates ([for a good reason]())\n\nInstallation:\n\n```bash\nnpm install udt-to-image-position\n```\n\n\n```javascript\nconst { convertUDTToImagePosition, convertSampleToImagePosition } = require(\"udt-to-image-position\")\n\n// TODO\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversaldatatool%2Fudt-to-image-position","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funiversaldatatool%2Fudt-to-image-position","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiversaldatatool%2Fudt-to-image-position/lists"}