Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration file #41

Open
nesquik011 opened this issue Jan 23, 2019 · 7 comments
Open

configuration file #41

nesquik011 opened this issue Jan 23, 2019 · 7 comments

Comments

@nesquik011
Copy link

hello my friend did compile but the 3d scanner application didnt work may you help us to make it work please , thank you

@nesquik011
Copy link
Author

@nikolaseu hello i wonder did you fix the problem with configuration file ? is the software more stable now

@dentx22
Copy link

dentx22 commented Jul 17, 2019

compilation ok

needs the ini file
I like camera I imagingsource dmk 23u236
https://www.theimagingsource.com/products/industrial-cameras/usb-3.0-monochrome/dmk23ux236/

@nesquik011
Copy link
Author

compilation ok

needs the ini file
I like camera I imagingsource dmk 23u236
https://www.theimagingsource.com/products/industrial-cameras/usb-3.0-monochrome/dmk23ux236/

do you want the ini file of that camera ? i think there is something wrong with ini

@nikolaseu
Copy link
Owner

There's no plugin for imaging source cameras, so unless it works with some other plugin like OpenCV you will not be able to use it without writing some code. You can check with ZCameraViewer if it's detected or not.
The ini file is just the configuration, if there's no plugin it will not work.

@Genn4dental
Copy link

version 0.2.0
i work camera in opencv
create the ini file for me
but when I run
Z3DScanner crashes
is something missing from the software?
when debugging it tells me that the problem is ZStructuredLight patterns

@dentx22
Copy link

dentx22 commented Mar 27, 2020

if (m_opencvAttributeNames.empty()) {
    /// attribute id <-> name map
    m_opencvAttributeNames[cv::CAP_PROP_FRAME_WIDTH ] = "OpenCV::Frame::Width";
    m_opencvAttributeNames[cv::CAP_PROP_FRAME_HEIGHT] = "OpenCV::Frame::Height";
    m_opencvAttributeNames[cv::CAP_PROP_BRIGHTNESS  ] = "OpenCV::Brightness";
    m_opencvAttributeNames[cv::CAP_PROP_CONTRAST    ] = "OpenCV::Contrast";
    m_opencvAttributeNames[cv::CAP_PROP_SATURATION  ] = "OpenCV::Saturation";
    m_opencvAttributeNames[cv::CAP_PROP_HUE         ] = "OpenCV::Hue";
    m_opencvAttributeNames[cv::CAP_PROP_GAIN        ] = "OpenCV::Gain";
    m_opencvAttributeNames[cv::CAP_PROP_EXPOSURE    ] = "OpenCV::Exposure";
    m_opencvAttributeNames[cv::CAP_PROP_FPS         ] = "OpenCV::FPS";
}

/*/// try to get supported frame sizes
union {double prop; const char* name;} u;
u.prop = m_capture->get(cv::CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING);
// VideoCapture::get can return 0.0 or -1.0 if it doesn't support
// cv::CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING
if (u.prop != 0.0 && u.prop != -1.0) {
    qDebug() << "cv::CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING" << u.name;
} else */{
    m_frameSizes << QSize(320, 240)
                 << QSize(640, 480)
                 << QSize(640, 488)
                 << QSize(800, 600)
                 << QSize(848, 480)
                 << QSize(1280, 720)
                 << QSize(1280, 1024)

add << QSize(1600, 1200);

@nesquik011
Copy link
Author

@dentx22 thank you , i wonder what is the problem with the software @Genn4dental said the software doesnt work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants