{"id":21039010,"url":"https://github.com/image-py/planer-zoo","last_synced_at":"2025-05-15T16:32:09.288Z","repository":{"id":57453295,"uuid":"362748710","full_name":"Image-Py/planer-zoo","owner":"Image-Py","description":"toolbox of planer","archived":false,"fork":false,"pushed_at":"2022-03-06T17:05:31.000Z","size":58,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-17T09:54:33.790Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Image-Py.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}},"created_at":"2021-04-29T08:41:26.000Z","updated_at":"2023-12-01T17:54:26.000Z","dependencies_parsed_at":"2022-08-29T10:41:49.148Z","dependency_job_id":null,"html_url":"https://github.com/Image-Py/planer-zoo","commit_stats":null,"previous_names":["image-py/planer-store"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Image-Py%2Fplaner-zoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Image-Py%2Fplaner-zoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Image-Py%2Fplaner-zoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Image-Py%2Fplaner-zoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Image-Py","download_url":"https://codeload.github.com/Image-Py/planer-zoo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225362120,"owners_count":17462371,"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-19T13:37:14.538Z","updated_at":"2024-11-19T13:37:17.473Z","avatar_url":"https://github.com/Image-Py.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# planer-store\n[Planer](https://github.com/Image-Py/planer) is a light-weight CNN framework implemented in pure Numpy-like interface. It can run only with Numpy. Or change different backends. (Cupy accelerated with CUDA, ClPy accelerated with OpenCL).\n\nplaner-store is a toolbox based on planer. Supportting many models, we can use them easily:\n```python\nimport planer_store as plas\nmodel = plas.load_model('xxx')\n\nmodel.xxx ...\n```\n\n## crnn-ocr\n```python\nimport planer_store as plas\nmodel = plas.load_model('crnn_ocr')\n\nimg = imread('planer.jpg')\ntext = model.recognize(img)\n\n# show img and result\n```\n![crnn-ocr](https://user-images.githubusercontent.com/24822467/116868860-25630f00-ac42-11eb-92ce-a645eb7d5a8a.png)\n\n## face-68-key\n```python\nimport planer_store as plas\nmodel = plas.load_model('face_68_key')\n\nface = imread('face.jpg')\nrc = model.get_face_key(face)\nthin = model.face_adjust(face, fac=-10)\nfat = model.face_adjust(face, fac=10)\n\n# show face, thin, fat\n```\n![face-69key](https://user-images.githubusercontent.com/24822467/116868863-25fba580-ac42-11eb-82fb-4896162b70af.png)\n\n## hed-edge\n```python\nimport planer_store as plas\nmodel = plas.load_model('hed_edge')\n\nface = imread('edge.jpg')\nedge = model.hed_edge(img)\n\n# show face, edge\n```\n![hed-edge](https://user-images.githubusercontent.com/24822467/116868866-26943c00-ac42-11eb-9b6e-b06776a67659.png)\n\n## object-recognize\n```python\nimport planer_store as plas\nmodel = plas.load_model('resnet18')\n\nimg = imread('bus.jpg')\nobj = model.recognize(img)\n\n# show img and result\n```\n![object-recognize](https://user-images.githubusercontent.com/24822467/116868854-23994b80-ac42-11eb-81ce-31b945a09ccc.png)\n\n## high-resolution\n```python\nimport planer_store as plas\nmodel = plas.load_model('ESRGAN')\n\nimg = imread('girl.jpg')\nhigh = model.super_resolution(img)\n\n# show img and high resolution result\n```\n![high-resolution](https://user-images.githubusercontent.com/24822467/116868867-26943c00-ac42-11eb-96b8-844f44aa63ac.png)\n\n## cellpose\n```python\nimport planer_store as plas\nmodel = plas.load_model('cellpose')\n\nimg = 255 - imread('cell.png')[:,:,0]\nflow = count_flow(img)\nlab = flow2msk(flow, level=0.2)\nedge = draw_edge(img, lab)\nrgb = rgb_mask(img, lab)\n\n# show img, flow, edge, rgbmsk\n```\n![cellpose](https://user-images.githubusercontent.com/24822467/116868857-24ca7880-ac42-11eb-8799-37f65a1e2421.png)\n\n## Contribution\nwelcom to contribute new models.\n1. use torch to train, and export as onnx\n2. planer.onnx2planer('xxx.onnx')","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimage-py%2Fplaner-zoo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimage-py%2Fplaner-zoo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimage-py%2Fplaner-zoo/lists"}