{"id":21475391,"url":"https://github.com/kevinkit/camera2tcp","last_synced_at":"2026-05-14T20:31:52.733Z","repository":{"id":81856541,"uuid":"88430069","full_name":"kevinkit/Camera2TCP","owner":"kevinkit","description":"This repository is a python (till now) framework for making camera data available via TCP","archived":false,"fork":false,"pushed_at":"2018-04-14T19:09:00.000Z","size":520,"stargazers_count":2,"open_issues_count":15,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-03T12:48:57.676Z","etag":null,"topics":["cameras","opencv","tcp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-04-16T17:08:44.000Z","updated_at":"2020-05-16T07:50:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"315607ab-1fcd-4e56-9715-90eea991152b","html_url":"https://github.com/kevinkit/Camera2TCP","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kevinkit/Camera2TCP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinkit%2FCamera2TCP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinkit%2FCamera2TCP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinkit%2FCamera2TCP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinkit%2FCamera2TCP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinkit","download_url":"https://codeload.github.com/kevinkit/Camera2TCP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinkit%2FCamera2TCP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33042122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["cameras","opencv","tcp"],"created_at":"2024-11-23T10:42:10.328Z","updated_at":"2026-05-14T20:31:52.727Z","avatar_url":"https://github.com/kevinkit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Camera2TCP\n\n\n\nThis repository is a python framework for making camera data available via TCP.\nCurrently it only runs on Python 2.7, due to some old print statements. \n\n# Getting started\n\n\nThis chapter will give a quick overview on how to start the project. For details see later chapters in this Readme.\n\nThe Threaded server is the one providing the images, either from a camera, a kinect or from a webcam. The client is the one asking for those pictures. The client needs to know the IP-Adress of the Server.\n\n1. Start the Server. Here for example with a webcam. \n```\npython ThreadedServer.py --Webcam \n```\n2. On the same, or on any other machine start the Client and specify the wanted Service from the Server (Here a Webcam, like started on the Server). Here, the Server has the IP 192.178.2.10 and the wanted \n```\npython Client.py --HOST 192.168.2.10 --Service RGBWebcam\n```\n\n# Version 0.3b is on #\n\nIt is now possible to access more than just one Server (camera) with the MultiClient. It is also possible to automatically calculate an affine Transform between the cameras, with the background of the ECC-Transform (This just works for smaller offsets).\nAn Easy to install .sh file was added, which resolves most issues with pykinect2\n# IMPORTANT\n\n## Dependencies:\n\n\n### Must-Have:\n\nFor the EasyInstall scripts you must install the Visaul C++ 2015 Build Tools!\n\nhttp://landinghub.visualstudio.com/visual-cpp-build-tools\n\n* socket\n* netifaces\n* threading\n* sys\n* numpy\n* Either opencv (python) \n* time\n* ctypes\n* pygame\n\n\n* pykinect2 and so the Windows SDK for Kinect\n\n\n\n## Server\n\nServer was only tested on Windows.\n\n\n## Clients\n\nClients run on Windows and Linux. \n\n\n## Known bugs and fixes:\n\n* Do not call the ThreadedServer script in Spyder. Use python shell.\n* Do not call any Client script in Spyder. Use python shell\n* The ThreadedServer does not stop properly. To stop it close the popped up window (yes it will crash...)\n* Close clients with str+c in the command line\n\n* AssertionError -80: This is a bug coming from the pykinect framework. To resolve this simply replace the files installed from pip by the ones from the offical repository, which can be found here: https://github.com/Kinect/PyKinect2\nNext to it, if you used the script in in easy install this error should be fixed\n\n## Upcoming features:\n\n* Bug fixes\n* Sending multiple images from directory\n* Sending video\n\n\n# Overview Clients\n\nAll clients ending with a letter like A,B,C... are depricated. Use the Client.py instead.\n\n## Arguments:\n\n### Service\n\nDetermines the Service one whiches to connect to. Currently there are the following options available:\n\n* SimpleImage (Just one image that gets alternated)\n* RGBWebcam (Conneting to a simple WebCam)\n* KinectWebcam (Connecting to Kinect RGB)\n* KinectSkeleton (Not working)\n* KinectDepth (Connecting to Kinect Depth Sensors)\n\n### HOST\n\nSets the IP-Adress, default will be the local machine IP-Adress.\n\n### PORT \n\nSets the PORT to connect to, default is 8080.\n\n### Show\n\nEnables or disables showing the image after recieving it. Default is enabled.\n### Write\n\nEnables or disables writing the recieved image to file. Note: The file will be overwritten at any frame. Default is disabled. \n\n# Overview ThreadedServer\n\nThe ThreadedServer is a threaded TCP Server, which is capable of distributing the data to several clients.\n\n## Arguments:\n\n### Kinect \n\nDisables / Enables the Kinect. Default = Enabled\nIf the Kinect Framework fails to load, the Kinect services are disabled.\n\n### Webcam\n\nDisables / Enables the Webcam. Default = Enabled\n\n### Image\n\nGives the path to the image which will be send\n\n### Port\n\nSets the port the Server runs on.\n\n### Change\n\nAllows to alter the image loaded from the Image parameter. It will make additions to the pixel so one is able to see wether several frames or just one frame is recieved by the client.\n\n### Debug\n\nAllow Debuging, which is mainly the sending of the one image loaded by the Image paramter and alternated from the change parameter. \n\n\n# LEGAL DISCLAIMER\n\n\nThe image lena.png is owned by \"Playmate of the Month\". Playboy Magazine. November 1972, photographed by Dwight Hooker\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinkit%2Fcamera2tcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinkit%2Fcamera2tcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinkit%2Fcamera2tcp/lists"}