{"id":23257330,"url":"https://github.com/turiphro/cvlab","last_synced_at":"2026-04-17T13:32:42.928Z","repository":{"id":56418690,"uuid":"202931351","full_name":"turiphro/cvlab","owner":"turiphro","description":"Personal scripts for quick computer vision prototypes","archived":false,"fork":false,"pushed_at":"2022-10-23T16:24:35.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T08:23:12.184Z","etag":null,"topics":["computer-vision","deep-learning","mxnet","opencv","stereo-vision","webcams"],"latest_commit_sha":null,"homepage":"https://turiphro.nl/projects/cvlab","language":"Python","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/turiphro.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}},"created_at":"2019-08-17T21:05:56.000Z","updated_at":"2023-01-28T14:26:06.000Z","dependencies_parsed_at":"2023-01-20T13:17:20.496Z","dependency_job_id":null,"html_url":"https://github.com/turiphro/cvlab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/turiphro/cvlab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turiphro%2Fcvlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turiphro%2Fcvlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turiphro%2Fcvlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turiphro%2Fcvlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turiphro","download_url":"https://codeload.github.com/turiphro/cvlab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turiphro%2Fcvlab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31931403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: 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":["computer-vision","deep-learning","mxnet","opencv","stereo-vision","webcams"],"created_at":"2024-12-19T12:28:41.421Z","updated_at":"2026-04-17T13:32:42.897Z","avatar_url":"https://github.com/turiphro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository contains code and resources for\nmy personal computer vision lab. It will be a\nplayground for new ideas using a diversity of\n(Python and C++) libraries, 2D and 3D input\ndevices (such as webcams, Kinect, Leap Motion \nand Wiimotes), prototypes, and documentation.\n\nAs this repo is meant for experimentation and\nprototyping, please do not judge code quality ;)\n\n\nInstallation (Ubuntu)\n=====================\n\nLast tested on Ubuntu 20.04.\n\n```\nsudo apt-get install python3-pip python3-numpy python3-dev potrace libgtk2.0-dev libeigen3-dev libavcodec-dev libdc1394-22-dev libjpeg-dev libpng-dev libtiff-dev libopenni-dev imagemagick libffi-dev libhdf5-dev libhdf5-serial-dev libatlas-base-dev\n\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements/desktop.txt  # or requirements/pi.txt on raspberry pi\n```\n\n\n### Raspberry Pi\nAdditionally, on raspberry pis do:\n\n- `sudo raspi-config` and enable the camera module (and ssh if desired)\n\n- install the LCD screen; depending on your screen, use:\n  - RPi Display (aliexpress; here 3.5 inch MPI3501):\n    `git clone https://github.com/goodtft/LCD-show.git \u0026\u0026 cd LCD-show \u0026\u0026 chmod +x LCD* \u0026\u0026 sudo ./LCD35-show 180`;\n    change rotation (180) later with `sudo ./rotate.sh [rotation]`\n\n\n### Manual compilation OpenCV\nAlternatively, you may manually compile OpenCV.\n\nCompile OpenCV 4.0+, including Python (3) bindings (6min on my core i7)\nhttps://www.pyimagesearch.com/2018/08/15/how-to-install-opencv-4-on-ubuntu/\n\n    export OPENCV=4.1.2  # 2019-10-10\n    wget -O opencv.zip https://github.com/opencv/opencv/archive/$OPENCV.zip\n    wget -O opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/$OPENCV.zip\n    unzip opencv.zip \u0026\u0026 unzip opencv_contrib.zip\n    mv opencv-$OPENCV opencv \u0026\u0026 mv opencv_contrib-$OPENCV opencv_contrib\n\n    mkdir -p opencv/build/ \u0026\u0026 cd opencv/build\n    cmake -D CMAKE_BUILD_TYPE=RELEASE \\\n\t-D CMAKE_INSTALL_PREFIX=/usr/local \\\n\t-D INSTALL_PYTHON_EXAMPLES=ON \\\n\t-D INSTALL_C_EXAMPLES=OFF \\\n\t-D OPENCV_ENABLE_NONFREE=ON \\\n\t-D OPENCV_EXTRA_MODULES_PATH=$PWD/../../opencv_contrib/modules \\\n\t-D PYTHON_EXECUTABLE=$(which python3) \\\n\t-D PYTHON2_EXECUTABLE=$(which python2) \\\n\t-D BUILD_EXAMPLES=ON ..\n    make -j5\n    sudo make install\n\n\nTools\n=====\n\n## Inference on webcams\nWe can run various inference algorithms on streams of images (e.g., webcams or folders with images).\n\nExample:\n\n```\nexport PYTHONPATH=\"$PWD:$PYTHONPATH\"\npython3 apps/viewer.py -i 0 1 2 -f classic.OpticalFlow\n```\n\nYou can find all available algorithms with:\n\n``` grep \"(\\w+)\\(Inference\\)\" -Eo inference -r ```\n\n\nFor more notes, see the doc/ directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturiphro%2Fcvlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturiphro%2Fcvlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturiphro%2Fcvlab/lists"}