{"id":20449670,"url":"https://github.com/emmanuelmess/syntheticimagerenderer","last_synced_at":"2026-06-08T05:31:21.524Z","repository":{"id":92103943,"uuid":"373985135","full_name":"EmmanuelMess/SyntheticImageRenderer","owner":"EmmanuelMess","description":"A synthetic image renderer made with Ogre","archived":false,"fork":false,"pushed_at":"2021-09-01T19:04:54.000Z","size":4671,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T09:20:05.319Z","etag":null,"topics":["ogre3d","synthetic-data"],"latest_commit_sha":null,"homepage":"","language":"C++","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/EmmanuelMess.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-05T00:05:02.000Z","updated_at":"2023-09-08T18:23:02.000Z","dependencies_parsed_at":"2023-04-24T11:47:32.581Z","dependency_job_id":null,"html_url":"https://github.com/EmmanuelMess/SyntheticImageRenderer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EmmanuelMess/SyntheticImageRenderer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelMess%2FSyntheticImageRenderer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelMess%2FSyntheticImageRenderer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelMess%2FSyntheticImageRenderer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelMess%2FSyntheticImageRenderer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmmanuelMess","download_url":"https://codeload.github.com/EmmanuelMess/SyntheticImageRenderer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelMess%2FSyntheticImageRenderer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34050225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":["ogre3d","synthetic-data"],"created_at":"2024-11-15T10:43:32.578Z","updated_at":"2026-06-08T05:31:21.469Z","avatar_url":"https://github.com/EmmanuelMess.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SyntheticImageRenderer\nA synthetic image renderer made with Ogre\n\nThe code in main generates these files, without opening any windows:\n\n\u003cimg src=\"rendered.png\"/\u003e \u003cimg src=\"rendered2.png\"/\u003e \u003cimg src=\"rendered3.png\"/\u003e\n\nTo change the configuration for any image use:\n```c++\nstd::default_random_engine generator(42);\nProcessConfigurator configurator;\nconfigurator.imagesConfigurations.emplace_back(SingleImageConfiguration {\n    .inputMesh = \"../fish.mesh\", //path to mesh\n    .outputPath = \"../rendered.png\", //image name, if it is \"\" then no image is created\n    .width = 250, //image width\n    .height = 250, //image height\n    .randomnessProviderPosition = [\u0026generator] (const Ogre::Vector3\u0026 point) { \n        // Provides a random variation on a point\n        // This is for moving the camera a bit\n        std::normal_distribution\u003cOgre::Real\u003e distributionX(point.x, 25.0);\n        std::normal_distribution\u003cOgre::Real\u003e distributionY(point.y, 5.0);\n        std::normal_distribution\u003cOgre::Real\u003e distributionZ(point.z, 5.0);\n        return Ogre::Vector3(\n            distributionX(generator),\n            distributionY(generator),\n            distributionZ(generator)\n        );\n    },\n    .randomnessProviderRotation = [\u0026generator] () {\n        // Provides a random rotation for the camera\n        std::normal_distribution\u003cOgre::Real\u003e distributionAngle(0, 10);\n        return Ogre::Degree(distributionAngle(generator));\n    },\n    .postProcessing = [] (cv::Mat\u0026 image) {\n    \t// Images have transparent backgrounds,\n    \t// and allow for little customization,\n    \t// use this if you want to change the result\n        cv::Mat mask;\n        inRange(image, cv::Scalar(0, 0, 0, 0), cv::Scalar(255, 255, 255, 0), mask);\n        image.setTo(cv::Scalar(0, 0, 0, 255), mask);\n        return image;\n    },\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuelmess%2Fsyntheticimagerenderer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmanuelmess%2Fsyntheticimagerenderer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuelmess%2Fsyntheticimagerenderer/lists"}