{"id":13504176,"url":"https://github.com/FLIR/BosonUSB","last_synced_at":"2025-03-29T19:30:45.499Z","repository":{"id":105031707,"uuid":"103458891","full_name":"FLIR/BosonUSB","owner":"FLIR","description":"Tool to capture Boson USB video in Linux ","archived":false,"fork":false,"pushed_at":"2020-11-18T19:37:05.000Z","size":1827,"stargazers_count":59,"open_issues_count":4,"forks_count":23,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-05-21T05:07:23.320Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FLIR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","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":"2017-09-13T22:37:47.000Z","updated_at":"2024-08-01T01:46:37.109Z","dependencies_parsed_at":null,"dependency_job_id":"aa762fc9-7663-483d-b1c7-7bb6b80961f6","html_url":"https://github.com/FLIR/BosonUSB","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/FLIR%2FBosonUSB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FLIR%2FBosonUSB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FLIR%2FBosonUSB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FLIR%2FBosonUSB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FLIR","download_url":"https://codeload.github.com/FLIR/BosonUSB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246234672,"owners_count":20745013,"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-07-31T23:00:57.713Z","updated_at":"2025-03-29T19:30:45.246Z","avatar_url":"https://github.com/FLIR.png","language":"C++","funding_links":[],"categories":["Awesome Thermal Research in Robotics \u0026 Computer Vision","C++"],"sub_categories":["ETC"],"readme":"FLIR SYSTEMS, INC \u003cBR\u003e\n2018-Nov \u003cBR\u003e\nMIT License \u003cBR\u003e\n\n# Description:\n\nThis is an example of capturing Boson Video (USB) using V4L2 (Video for Linux 2)\nand OpenCV to display the video. Boson USB has two modes, AGC-8 bits and\nRAW-16bits.\n\nVideo in 16 bits is not paintable so a linear transformation needs to happen\nbefore displaying the image. We call this process AGC, and in this example we\nuse the most basic one (LINEAR). Then we use stardard call to paint in GREY.\nVideo is 8 bits is directly paintable, linear transformation happens inside the\n camera, not further actions need to happen in SW.\n\nTo Display Boson data we are using OpenCV to convert from YUV to RGB.\n\n# How to use it:\n```\nBosonUSB [r/y/a/b/z/f/t] [0..9] \n\tr    : raw video\n\ty    : 8 bits\n\tz    : zoom mode to 640x480\n\tf\u003cname\u003e    : record TIFFS in Folder \u003cNAME\u003e\n\tt\u003cvideo_frames\u003e : record a certain number of frames being \u003cvideo_frames\u003e default sets to 0 which sets no limit\n\ts[b,B] : b=boson320, B=boson640   \n\t[0..9]: video port\n\n./BosonUSB    -\u003e  opens Boson320 /dev/video0  in RAW16 mode\n./BosonUSB r  -\u003e  opens Boson320 /dev/video0  in RAW16 mode\n./BosonUSB y  -\u003e  opens Boson320 /dev/video0  in AGC-8bits mode\n./BosonUSB sB 1   -\u003e  opens Boson640 /dev/video1  in RAW16 mode\n./BosonUSB sB y 2 -\u003e  opens Boson640 /dev/video2  in AGC-8bits mode\n./BosonUSB fcap -\u003e Captures RAW16 frames and stores them as TIFF files in 'cap' folder.\n\t\t   If in RAW16 mode then RAW16 and Linear_AGC are captured per frame\n\t\t   If in AGC-8 mode then YUV TIFF only are captured per frame\n./BosonUSB fcap t100 -\u003e Captures RAW16 frames and stores them as TIFF files in 'cap' folder and only captures 100 frames\n```\n\n# To compile\n\nThis SW uses some libraries as v4l2 and OpenCv, they need to be installed first in the PC.\nThey are not part of this package\n```\ncmake .\nmake\n\n(if CMakeCache.txt exists remove it first time)\n```\n\n# How to clean the full project\n```\nmake clean\nrm -rf CMakeFiles\nrm CMakeCache.txt\nrm cmake_install.cmake\nrm Makefile\n```\n\n# References and Credits (other than FLIR)\n\n- http://jwhsmith.net/2014/12/capturing-a-webcam-stream-using-v4l2\n- https://opencv.org\n- https://en.wikipedia.org/wiki/Video4Linux\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFLIR%2FBosonUSB","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFLIR%2FBosonUSB","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFLIR%2FBosonUSB/lists"}