{"id":15433400,"url":"https://github.com/beiyuouo/generate-big-watermelon-image","last_synced_at":"2025-06-20T04:05:02.162Z","repository":{"id":107740193,"uuid":"334651612","full_name":"beiyuouo/generate-big-watermelon-image","owner":"beiyuouo","description":"🍉 生成合成大西瓜图片！一步到胃！","archived":false,"fork":false,"pushed_at":"2021-02-02T13:58:28.000Z","size":2946,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T04:02:52.439Z","etag":null,"topics":["big-watermelon","javascript","npm","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/beiyuouo.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":"2021-01-31T12:37:50.000Z","updated_at":"2023-08-24T04:55:04.000Z","dependencies_parsed_at":"2023-06-08T22:36:55.989Z","dependency_job_id":null,"html_url":"https://github.com/beiyuouo/generate-big-watermelon-image","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"87750309e178457aea7e6d53fcbb6673c7f0e177"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beiyuouo/generate-big-watermelon-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiyuouo%2Fgenerate-big-watermelon-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiyuouo%2Fgenerate-big-watermelon-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiyuouo%2Fgenerate-big-watermelon-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiyuouo%2Fgenerate-big-watermelon-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beiyuouo","download_url":"https://codeload.github.com/beiyuouo/generate-big-watermelon-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiyuouo%2Fgenerate-big-watermelon-image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260878243,"owners_count":23075955,"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":["big-watermelon","javascript","npm","opencv","python"],"created_at":"2024-10-01T18:33:54.028Z","updated_at":"2025-06-20T04:04:57.150Z","avatar_url":"https://github.com/beiyuouo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![generate-big-watermelon-image](https://socialify.git.ci/beiyuouo/generate-big-watermelon-image/image?font=Source%20Code%20Pro\u0026forks=1\u0026issues=1\u0026language=1\u0026logo=https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F44976445%3Fs%3D460%26u%3D182d335f502ab38522bde613717bd77aa1f6f766%26v%3D4\u0026owner=1\u0026pattern=Circuit%20Board\u0026pulls=1\u0026stargazers=1\u0026theme=Light)\n\n## Generate BigWaterMelon Image\n\n生成合成大西瓜图片！一步到胃！\n\n视频Demo: \u003ca href=\"https://www.bilibili.com/video/BV1Ai4y1F7cx\"\u003eBV1Ai4y1F7cx\u003c/a\u003e\n\n## Getting Start\n\n1. 图片处理\n\n请先安装`numpy`和`opencv`\n\n首先将要生成的11张（11张不多不少！文件名是按字符串形式排序的，建议加前导零，使用`jpg`,`png`,`jpeg`格式的图片，路径名不要包含中文）放入`imgs`文件夹内即可\n\n```sh\npython main.py\n```\n\n2. 部署\n\n游戏部署请先安装`nodejs`和`npm`\n\n```sh\ncd game\nnpm i -g serve\nserve\n```\n\n3. 打开浏览器游戏\n\n打开`localhost:5000`即可\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeiyuouo%2Fgenerate-big-watermelon-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeiyuouo%2Fgenerate-big-watermelon-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeiyuouo%2Fgenerate-big-watermelon-image/lists"}