Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1009256 // firstWebCam - get Webcam instance; prefer internal webcams

JavaX fragment (include)

import com.github.sarxos.webcam.*;

lib 1008985 // webcam
lib 1008987 // bridj
lib 1004016 // slf4j api

static Webcam firstWebCam() {
  ret first(Webcam.getWebcams());
}

Author comment

Began life as a copy of #1009111

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009256
Snippet name: firstWebCam - get Webcam instance; prefer internal webcams
Eternal ID of this version: #1009256/1
Text MD5: 79c479fad86ee6f9c0cdfb290a16f9a0
Author: stefan
Category: javax / desktop / camera
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-19 20:35:21
Source code size: 178 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 518 / 547
Referenced in: [show references]