{"id":22160342,"url":"https://github.com/zabir-nabil/py-grpc-opencv","last_synced_at":"2026-05-05T12:33:54.474Z","repository":{"id":89879253,"uuid":"380053280","full_name":"zabir-nabil/py-grpc-opencv","owner":"zabir-nabil","description":"Python gRPC server, client with opencv (image manipulation boilerplate)","archived":false,"fork":false,"pushed_at":"2021-06-24T22:08:15.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T15:22:15.559Z","etag":null,"topics":["grpc","opencv","py-grpc","python-grpc","python-grpc-opencv"],"latest_commit_sha":null,"homepage":"","language":"Python","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/zabir-nabil.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-06-24T21:21:59.000Z","updated_at":"2022-09-29T04:38:29.000Z","dependencies_parsed_at":"2023-06-15T23:45:18.161Z","dependency_job_id":null,"html_url":"https://github.com/zabir-nabil/py-grpc-opencv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zabir-nabil/py-grpc-opencv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zabir-nabil%2Fpy-grpc-opencv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zabir-nabil%2Fpy-grpc-opencv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zabir-nabil%2Fpy-grpc-opencv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zabir-nabil%2Fpy-grpc-opencv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zabir-nabil","download_url":"https://codeload.github.com/zabir-nabil/py-grpc-opencv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zabir-nabil%2Fpy-grpc-opencv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32649596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["grpc","opencv","py-grpc","python-grpc","python-grpc-opencv"],"created_at":"2024-12-02T04:07:27.361Z","updated_at":"2026-05-05T12:33:54.460Z","avatar_url":"https://github.com/zabir-nabil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# py-grpc-opencv\nPython gRPC server, client with opencv (image manipulation boilerplate)\n\n\n#### Solution:\n\n1. Install a fresh Ubuntu 18.04 installation. (I used `docker pull ubuntu:18.04` from [docker-hub](https://hub.docker.com/layers/ubuntu/library/ubuntu/18.04/images/sha256-c60266b67f58fafc30703315f617a8fcccaffc48ef5534ca5f67a9ba3aceb3b8?context=explore))\n2. Make sure, **you are the root** (to avoid sudo), and make the scripts executable by running (in the same folder):\n    ```\n    chmod +x setup\n    chmod +x build\n    ```\n3. To install all the dependencies, run `./setup`\n4. To build the source code, run `./build`\n5. Now, for running the server, we can try:\n    ```\n    python3 server.py\n    ```\n    **Arguments:**\n    ```\n    '--port', default=50054, type=int, help=\"Server listening port\"\n    '--host', default='127.0.0.1', type=str, help=\"Server listening host\"\n    ```\n6.  For running the client, we can try:\n    ```\n    python3 client.py\n    ```\n    **Arguments:**\n    ```\n\t'--port', default=50054, type=int, help=\"Client listening port\"\n\n\t'--host', default='127.0.0.1', type=str, help=\"Client listening host\"\n\n\t'--input', default='src/bar.jpg', type=str, help=\"Input image path\"\n\n\t'--output', default='out.jpg', type=str, help=\"Output image path\"\n\n\t'--rotate', default=\"NONE\", type=str, help=\"Rotation degree\", options: [\"NINETY_DEG\",          \"ONE_EIGHTY_DEG\", \"TWO_SEVENTY_DEG\", \"NONE\"]\n\n\t'--mean', action='store_true', help=\"Mean filter\"\n    ```\n\n#### Using docker:\n\nRun the commands sequentially.\n```\napt update\napt install docker.io\ndocker pull ubuntu:18.04\ndocker build -it --net=host ubuntu:18.04 bash\napt install git\ngit clone https://github.com/zabir-nabil/py-grpc-opencv.git\ncd py-grpc-opencv\n```\nNow, start from 1.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzabir-nabil%2Fpy-grpc-opencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzabir-nabil%2Fpy-grpc-opencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzabir-nabil%2Fpy-grpc-opencv/lists"}