Vote count: 0How should I create face detection web application which capture photo and save when face comes in-front of camera. Which technology currently available to achieve this. Please Help... asked 44 secs agoAngadLet's blo...
ادامه مطلبVote count: 0 I haven't found a working example of implementing PCA analysis using Opencv that suits my case, so I'm not sure what is wrong with my implementation, which follows: void PreProcessor::performPca() { const int type = CV_64F; cv::Mat pt_mat = cv::Mat::zeros(numPatients, numFeatures, type); for (int y = 0; y < numPatients; y++) { for (int x = 0; x < numFeatures; x++) { pt_mat.at(y,x) = features[y].at(x); } } cv::PCA pt_pca(pt_mat, cv::Mat(), CV_PCA_DATA_AS_ROW, numFeatures); cv::Mat d...
ادامه مطلبVote count: 0 i am developing an excel web app addin for office365, my excel file is placed in one drive. when i open my excel file it shows in readonly mode. is it possible using office.js or any javascript code to detect if file is in readonly. i tried url in the browser changes if you edit the excel so that can be used to detect if file is in readonly mode or edit mode. right now you can see it as view.aspx page. i also tried using widnows.location, but as this app stays in iframe, its diffic...
ادامه مطلبVote count: -1 Given an image, say a colored 500x500 px 72dpi, with visible watermarks in it. I want to detect if the image contains some watermark or not. As a follow up I would like to remove that too. I am quite new to Image Processing and would like to know what all methods/techniques exists in recognizing watermarks in an image. There was not much that I could find related to this on Stack Overflow also. There was just this link Removing watermark out of an image in opencv, but it is not a ...
ادامه مطلبVote count: 0 This is not a dup of JSlint: unexpected 'for' , please do not mark it as such: There is no native for loop for looping through an object or object literal ( I know there is a .forEach for arrays ). Why does jslint suggest not using for loops? How do you loop through an object that does not have Array.forEach() or Array.some() or similar? But the bigger more important question, is why is this suggestion made? Obviously I could use Object.keys() and then forEach() but this seems like...
ادامه مطلبVote count: 0 I have the following code: class CEvent { public: CEvent(std::string const&) {} }; std::unordered_map m_messageList; CEvent& GetMessageEvent(std::string const& name) { auto it = m_messageList.find(name); if (it != m_messageList.end()) { auto pair = m_messageList.emplace(std::piecewise_construct, std::forward_as_tuple(name), // Copy-construct 'name' as the key std::forward_as_tuple(name)); // Construct CEvent in-place with the name retu pair.first->second; } retu it->second; } (Live...
ادامه مطلب