{"id":16357797,"url":"https://github.com/rsta2/libcamera","last_synced_at":"2025-07-28T00:09:29.061Z","repository":{"id":86376474,"uuid":"578237018","full_name":"rsta2/libcamera","owner":"rsta2","description":"Camera support for Circle","archived":false,"fork":false,"pushed_at":"2025-03-18T20:08:41.000Z","size":158,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-03T15:47:45.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsta2.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":"2022-12-14T15:22:40.000Z","updated_at":"2025-03-18T20:08:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"6cd0ef94-9fc2-432f-9f62-cdfb108ed743","html_url":"https://github.com/rsta2/libcamera","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"4033c46b89564c1ccdfe0af3b8e6f9e128d59d22"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rsta2/libcamera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsta2%2Flibcamera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsta2%2Flibcamera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsta2%2Flibcamera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsta2%2Flibcamera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsta2","download_url":"https://codeload.github.com/rsta2/libcamera/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsta2%2Flibcamera/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267442460,"owners_count":24087803,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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":[],"created_at":"2024-10-11T02:04:09.258Z","updated_at":"2025-07-28T00:09:29.026Z","avatar_url":"https://github.com/rsta2.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"libcamera\n=========\n\n\u003e Raspberry Pi is a trademark of Raspberry Pi Ltd.\n\nThis project provides camera support for Circle-based applications. Only cameras with CSI-2 interface are supported. The drivers in this project directly access the hardware, without using MMAL / VCHIQ software components. There are no specific settings in the file *config.txt* necessary.\n\nStatus\n------\n\nCurrently the Raspberry Pi Camera Module 1 (with OV5647 sensor) and Camera Module 2 (with IMX219 sensor) are supported, connected to the camera connector of the following Raspberry Pi models:\n\n* Raspberry Pi Model B (Release 2 with 512 MB)\n* Raspberry Pi Model A+\n* Raspberry Pi Model B+\n* Raspberry Pi Zero (v1.3 only)\n* Raspberry Pi Zero W\n* Raspberry Pi Zero 2 W\n* Raspberry Pi 2 Model B\n* Raspberry Pi 3 Model B\n* Raspberry Pi 3 Model A+\n* Raspberry Pi 3 Model B+\n* Raspberry Pi 4 Model B\n\nFor the Raspberry Pi Zero 2 W you need the file *bcm2710-rpi-zero-2-w.dtb* on the SD card, to be able to use it with a camera. This file was not used with Circle before. Go to the directory *circle/boot/* in this project and enter `make` to download the Raspberry Pi firmware with this file included.\n\nGetting\n-------\n\nNormally you need a *git* client to get the libcamera source code. Go to the directory where you want to place libcamera on your hard disk and enter:\n\n\tgit clone https://github.com/rsta2/libcamera.git\n\tcd libcamera\n\tgit submodule update --init\n\nThis will place the source code in the subdirectory *libcamera/* and clones the submodule *circle* into the *libcamera/circle/* subdirectory.\n\nBuilding\n--------\n\nlibcamera uses the Circle bare metal build environment for the Raspberry Pi. You need an appropriate compiler toolchain for ARM processors to build it. Have a look at the Circle *README.md* file (in *circle/*) for further information on this (section *Building*).\n\nWhen the toolchain is installed on your computer you can build libcamera using the following commands:\n\n\t./configure 4 arm-none-eabi-\n\t./make -j\n\nThe `configure` command writes a *Config.mk* file for Circle. \"4\" is the major revision number of your Raspberry Pi (1, 2, 3 or 4). The second (optional) parameter is the prefix of the commands of your toolchain and can be preceded with a path. Do not forget the dash at the end of the prefix! An additional third parameter (32 or 64) may be specified to select the AArch target architecture.\n\nIf the build was successful, you find the library file of libcamera in the *lib/* subdirectory with the name *libcamera.a*.\n\nSamples\n-------\n\nIf you want to try one of the provided sample programs, now go its subdirectory in *sample/* and do:\n\n\tmake\n\nThe built kernel image can be installed as described in the main Circle *README.md* file. Please read the file *README* in the subdirectory of the sample for more info!\n\nDocumentation\n-------------\n\nThe camera API is defined by the public interface of the following classes:\n\n* CCameraManager (Camera initialization and auto-probing)\n* CCameraBuffer (Manages access to a captured frame (image) from a camera)\n* CCameraDevice (everything else)\n\nIf you have Doxygen installed on your computer, you can build the libcamera documentation with:\n\n\t./makedoc\n\nThen open the file *doc/html/index.html* in your web browser!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsta2%2Flibcamera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsta2%2Flibcamera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsta2%2Flibcamera/lists"}