- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apparently the hard coding in the "common/src/images_capture.cpp" broke the video capturing on the Macbook 16". I have to taken out the cap.set flags manually or I will get an input error. FYI for the team, and also why are we hard coding these at all?
public:
VideoCapWrapper(const std::string &input, bool loop, size_t initialImageId, size_t readLengthLimit,
cv::Size cameraResolution)
: ImagesCapture{loop}, nextImgId{0}, initialImageId{static_cast<double>(initialImageId)} {
try {
cap.open(std::stoi(input));
this->readLengthLimit = loop ? std::numeric_limits<size_t>::max() : readLengthLimit;
//cap.set(cv::CAP_PROP_BUFFERSIZE, 1);
//cap.set(cv::CAP_PROP_FRAME_WIDTH, cameraResolution.width);
//cap.set(cv::CAP_PROP_FRAME_HEIGHT, cameraResolution.height);
//cap.set(cv::CAP_PROP_AUTOFOCUS, true);
//cap.set(cv::CAP_PROP_FOURCC, cv::VideoWriter::fourcc('M', 'J', 'P', 'G'));
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Raymond,
Would you mind sharing details such as your OS and which demo you ran?
Furthermore, please share your OpenVINO version and any error message you encountered.
Regards,
Rizal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Raymond,
Thank you for your question. If you need any additional information from Intel, please submit a new question as Intel is no longer monitoring this thread.
Regards,
Rizal

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page