c++ - Error: QueryFrame not a member of cv -


when run opencv code on raspbian following error:

error: "capturefromcam" not member of cv error: "setcaptureproperty" not member of cv error: "queryframe" not member of cv 

can correct notations using opencv 3.0. code runs without errors on lower version.

to expand on berak's answer:

the opencv c-api relic should not used unless have to. has been case long, long time. there apparently still ways access old c api if still need to. see comment berak on post.

to capture video should using cv::videocapture class in c++ api. link shows usage examples class reference.

if have old code uses old c-api, options either remain on opencv 2.x, or rewrite c++ api.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -