{"id":19533758,"url":"https://github.com/embox/opencv_samples","last_synced_at":"2025-04-26T13:34:00.656Z","repository":{"id":93073251,"uuid":"357120080","full_name":"embox/opencv_samples","owner":"embox","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-25T09:07:08.000Z","size":6023,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-04T13:44:59.132Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/embox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-12T08:43:51.000Z","updated_at":"2024-11-25T09:07:13.000Z","dependencies_parsed_at":"2024-10-31T13:47:16.111Z","dependency_job_id":null,"html_url":"https://github.com/embox/opencv_samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embox%2Fopencv_samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embox%2Fopencv_samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embox%2Fopencv_samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embox%2Fopencv_samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/embox","download_url":"https://codeload.github.com/embox/opencv_samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250993663,"owners_count":21519707,"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-11T02:09:50.017Z","updated_at":"2025-04-26T13:33:59.826Z","avatar_url":"https://github.com/embox.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opencv_samples\n\nThere are OpenCV samples copied from opencv/samples/cpp and adopted a little ro run on Embox. These samples are located in cmds/ folder.\nImages for testing purposes are located in data_samples/. Embox's configurations are located in templates/.\n\nYou can run these sample on Embox (qemu, stm32) and on Linux (your PC).\n\n## Running on Embox\n\nYou need to have both repos cloned - embox and opencv_samples.\n\n```\n$ cd embox/\n$ make ext_conf EXT_PROJECT_PATH=\u003cpath-to\u003e/opencv_samples\n```\n\nNow templates are available:\n\n```\n$ make confload\n...\next_project/opencv_samples/stm32f746g-discovery\next_project/opencv_samples/stm32f769i-discovery\next_project/opencv_samples/stm32f769i-discovery-extmem\next_project/opencv_samples/arm-qemu\n```\n\n### QEMU\n\n```\n$ make confload-ext_project/opencv_samples/arm-qemu\n$ make // you can optionally pass -j\u003cn\u003e to speed up build\n```\n\nRun:\n\n```\n./scripts/qemu/auto_qemu\n```\n\n### STM32F769I-Discovery \u0026 STM32F746G-Discovery\n\nYou can run some samples on STM32F769I-Discovery from internal ROM (2 MB):\n```\n$ make confload-ext_project/opencv_samples/stm32f769i-discovery\n$ make // you can optionally pass -j\u003cn\u003e to speed up build\n```\n\nYou can also run samples STM32F769I-Discovery from internal QSPI (64 MB):\n```\n$ make confload-ext_project/opencv_samples/stm32f769i-discovery-extmem\n$ make // you can optionally pass -j\u003cn\u003e to speed up build\n```\n\nSTM32F746G-Discovery has 1 MB in-chip flash and 16 MB QSPI\n```\n$ make confload-ext_project/opencv_samples/stm32f746g-discovery\n$ make // you can optionally pass -j\u003cn\u003e to speed up build\n```\n\n#### Getting OpenOCD\nYou will need **OpenOCD \u003e= 0.11.0**. You can download it [here](http://openocd.org/getting-openocd/).\n\n#### Flash and run Embox\n\nStart OpenOCD. If you built OpenOCD from sources:\n```\n$ cd \u003cpath to openocd\u003e/tcl\n```\nPass the corresponding `*.cfg` to openocd:\n```\n$ sudo ../src/openocd -f board/stm32f769i-disco.cfg\n```\n\nThen go to embox/ and run:\n```\n./scripts/gdb_run_stm32f7_qspi.sh\n```\n\nEmbox will be loaded and you can call commands from conf/start_script.inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembox%2Fopencv_samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembox%2Fopencv_samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembox%2Fopencv_samples/lists"}