computer-sciences | Code bites from Computer Sciences @ Politecnico di Torino | Learning library
kandi X-RAY | computer-sciences Summary
kandi X-RAY | computer-sciences Summary
Code bites from Computer Sciences @ Politecnico di Torino
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of computer-sciences
computer-sciences Key Features
computer-sciences Examples and Code Snippets
Community Discussions
Trending Discussions on computer-sciences
QUESTION
I am student of Computer-Sciences and I am learning image processing using OpenCv with Python
. I am working on gender detection using Periocular region. There I am facing a problem while I browse image; the Crop code work fine but on the interface Output is not displayed as requirement.
I searched for solution and apply various Qimage-Format
but it did not work properly.
I would be grateful if you help me out.
I have attached code along with current output and desired output also I am going to attach so that it make the question more clearly understandable
...ANSWER
Answered 2019-Oct-13 at 19:23You must use the QImage::Format_Indexed8
format to convert the numpy array to QImage. I have implemented a method that converts some types of numpy arrays to QImage
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install computer-sciences
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page