c++ - OpenCV: reading image from std::in? -


क्या OpenCV का imread फ़ंक्शन को std :: in ? <पूर्व> Mat imread (कॉन्स्ट स्ट्रिंग & amp; फ़ाइल नाम, int flags = 1);

फ़ंक्शन केवल फ़ाइल नाम स्वीकार करता है, लेकिन क्या स्टडीन के लिए कुछ "जादू" मान है?

ओपनसीवी आईमैडेकोड फ़ंक्शन प्रदान करता है जो फ़ाइल नाम के बजाए बफर पर काम करता है। आपको पहले एक बफर में stdin पढ़ना होगा।



Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -