{"id":21581437,"url":"https://github.com/dlr-eoc/camera","last_synced_at":"2025-09-26T15:09:45.785Z","repository":{"id":77719210,"uuid":"126016656","full_name":"dlr-eoc/camera","owner":"dlr-eoc","description":"a python module for camera projections","archived":false,"fork":false,"pushed_at":"2022-02-21T09:16:53.000Z","size":34731,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T19:13:22.251Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dlr-eoc.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,"zenodo":null}},"created_at":"2018-03-20T12:49:29.000Z","updated_at":"2024-05-20T16:21:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"81db00c3-df96-4559-a172-db63f5109a52","html_url":"https://github.com/dlr-eoc/camera","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dlr-eoc/camera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlr-eoc%2Fcamera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlr-eoc%2Fcamera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlr-eoc%2Fcamera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlr-eoc%2Fcamera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlr-eoc","download_url":"https://codeload.github.com/dlr-eoc/camera/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlr-eoc%2Fcamera/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260268632,"owners_count":22983601,"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-24T14:12:31.108Z","updated_at":"2025-09-26T15:09:45.730Z","avatar_url":"https://github.com/dlr-eoc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# camproject\na python module for camera projection and reprojection\n\nthis repository will no longer be maintained.\n\nPlease use the newer version of this module from https://github.com/EasyIsrael/camproject\n\nMaintainer\n----------\n  * Martin Israel \u003cm.israel@thermaldrones.de\u003e\n  \nRequirements\n------------\n\n  * python 2.6, 2.7, or 3.x\n  * NumPy\n  \n\nInstallation\n------------\nThe easiest way is to install it from Pypi with:\n    `$ pip install camproject`\n\nTo install system-wide from source distribution:\n   `$ python setup.py install`\n   \nQuickstart-Usage\n----------------\n\n    import numpy as np\n    import camproject\n    \n    P = np.array([[1],[0],[10],[1]]) # this is a point in 3D (e.g. in meters)\n    cam = camproject.Camera()  \n    cam.intrinsics(640,512,1000,320,260) # inner parameters: (in pixels)\n    # (im_width,im_height, focal_length, centerpixel_x, centerpixel_y)\n    cam.attitudeMat(np.eye(4))  # outer parameters: point to z-direction\n    p = cam.project(P) # gives pixel coordinates on the image\n\nto reproject it back to the 3D world we use this code\n\n    Q = cam.reprojectToPlane(p,distance=10) \n\n   \n   \nDocumentation\n-------------\n\n* documentation can be found at https://camproject.readthedocs.io/en/latest/\n* If you acquired this code via GitHub, then you can build the documentation using sphinx.\n      From the documentation directory, run:\n          `$ make html`\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlr-eoc%2Fcamera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlr-eoc%2Fcamera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlr-eoc%2Fcamera/lists"}