2019-12-12 01:58:18 -0600 | commented answer | Recording from imshow/matrix, not from webcam Wouldn't that create a lot of files though? I just wanted it to be like, if I slide a trackbar to 1, it'll create one fi |
2019-12-12 01:37:55 -0600 | commented answer | Recording from imshow/matrix, not from webcam Thanks berak. That did the job for me. By the way I have a slightly related issue: Right now my code, since the VideoW |
2019-12-12 01:32:54 -0600 | marked best answer | Recording from imshow/matrix, not from webcam Hi guys, hit a snag on this one. I'm trying to make the simplest recording from a video feed in imshow (Mat current_frame), not from a webcam. Basically I'm trying to record what happens to a feed in an imshow. So in my main function, I invoke the following to create the video folder: And when I slide a trackbar in my while(1) routine to start recording like this: Should that already do the trick? Am I mising something here? Thanks. Edit: In short, what is the simplest code to just record an imshow without using VideoCapture? |
2019-12-10 00:46:07 -0600 | edited question | Recording from imshow/matrix, not from webcam Recording from imshow/matrix, not from webcam Hi guys, hit a snag on this one. I'm trying to make the simplest recording |
2019-12-09 21:00:56 -0600 | commented question | Recording from imshow/matrix, not from webcam Yeah. The video file does not play, which I believe is due to the write() not working as intended. Technically, those tw |
2019-12-09 02:49:39 -0600 | asked a question | Recording from imshow/matrix, not from webcam Recording from imshow/matrix, not from webcam Hi guys, hit a snag on this one. I'm trying to make the simplest recording |
2019-10-21 20:11:29 -0600 | commented question | Converting camera feed into relative intensity in mW Ok my bad.. so if I wanted to express it in mW, is it possible? |
2019-10-20 20:34:48 -0600 | asked a question | Converting camera feed into relative intensity in mW Converting camera feed into relative intensity in mW Hi guys, general question here. I think this might have been questi |
2019-10-09 01:03:53 -0600 | received badge | ● Self-Learner (source) |
2019-10-09 01:01:27 -0600 | marked best answer | Accessing a camera-linked X1 mini PCIE camera Hi guys, I'm currently using a specialized camera (OWL 320 Raptor Photonics). I'm attempting at connecting it with OpenCV, but I guess the protocol is not as straightforward as it could be with a simple USB-connected type. I've tried it by changing the values from 0-2 in the following line: And it doesn't detect the feed. It works fine with my old webcam, for the record. The camera is run by a specialized software called XCAP. This software runs well, no issues, and I get the feed just fine. I'm using OpenCV 4.1.1 with Visual Studio C++ 2019. Is it still possible though? Thanks. Vizier87 PS: The complete code is attached here: https://www.mediafire.com/file/fyl3b8... Sorry I didn't want to clutter this query since it was quite long. |
2019-10-09 01:01:18 -0600 | answered a question | Accessing a camera-linked X1 mini PCIE camera You're right! Here's the working code for future inquirers: // Basic code for importing an image from a OWL 320 Camera |
2019-10-08 04:16:16 -0600 | commented answer | Accessing a camera-linked X1 mini PCIE camera Thanks berak. I feel I'm getting much closer now. Right now I'm just testing this line of the code: Mat img(pxd_imageYd |
2019-10-08 00:06:13 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera Hi berak, hope you don't mind me coming back here. I was informed that the following subroutine imports the array data f |
2019-10-08 00:05:46 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera Hi berak, hope you don't mind me coming back here. I was informed that the following subroutine imports the array data f |
2019-10-08 00:05:35 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera Hi berak, hope you don't mind me coming back here. I was informed that the following subroutine imports the array data f |
2019-10-03 03:58:29 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera Oh wow.. I was thinking we might have to buy it. Luckily I archived a copy of the CD into ISO when the camera came to me |
2019-10-03 02:51:21 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera Hi berak, I think I might have a lead: http://www.epixinc.com/manuals/pixci_eb1/index.htm#6.2.%20The%20Simplest%20XCLIB% |
2019-10-01 02:59:21 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera I guess I'll have to record the video and then perform some dumb processing later... Sigh. I'll see if I can still acce |
2019-10-01 02:37:07 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera Oh my.. Do you think there's another way? Anyway, does the SDK enable OpenCV access to the frames grabbed? |
2019-10-01 02:13:33 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera And this can only be done if I have the SDK/API? Or is there a workaround? Honestly I prefer workarounds.. VS2019 offe |
2019-10-01 02:09:01 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera and I get the feed just fine. what does it mean ? involving code ? I meant the feed was fine using the XCAP software. |
2019-10-01 02:06:48 -0600 | commented question | Accessing a camera-linked X1 mini PCIE camera Good question. I've sent an email to the guys in the company and see if it comes with something. |
2019-10-01 01:26:40 -0600 | edited question | Accessing a camera-linked X1 mini PCIE camera Accessing a camera-linked X1 mini PCIE camera Hi guys, I'm currently using a specialized camera (OWL 320 Raptor Photoni |
2019-10-01 01:25:13 -0600 | asked a question | Accessing a camera-linked X1 mini PCIE camera Accessing a camera-linked X1 mini PCIE camera Hi guys, I'm currently using a specialized camera (OWL 320 Raptor Photoni |
2019-09-25 04:03:59 -0600 | asked a question | Exodus to OpenCV 4 issues Exodus to OpenCV 4 issues Hi guys, I have managed to initialize my OpenCV 4 using VS2019 pretty ok. Got a blank Mat to |
2019-09-25 04:03:58 -0600 | asked a question | Exodus to OpenCV 4 issues Exodus to OpenCV 4 issues Hi guys, I have managed to initialize my OpenCV 4 using VS2019 pretty ok. Got a blank Mat to |
2019-09-18 23:03:32 -0600 | edited question | Access denied when debugging ALL_BUILD in CMake Access denied when debugging ALL_BUILD in CMake Hi all, I've been following a tutorial using CMake to operate the lates |
2019-09-18 23:03:28 -0600 | edited question | Access denied when debugging ALL_BUILD in CMake Access denied when debugging ALL_BUILD in CMake Hi all, I've been following a tutorial using CMake to operate the lates |
2019-09-18 23:02:39 -0600 | asked a question | Access denied when debugging ALL_BUILD in CMake Access denied when debugging ALL_BUILD in CMake Hi all, I've been following a tutorial using CMake to operate the lates |
2019-07-29 21:28:17 -0600 | commented question | Unwanted autocrop in video feed Thanks berak. Will update soon. |
2019-07-29 03:20:32 -0600 | asked a question | Unwanted autocrop in video feed Unwanted autocrop in video feed Hi guys, I'm using a specialized camera which runs from the uEye Cockpit. The feed look |
2019-06-23 21:45:30 -0600 | commented question | "Major ver = 6" return from console You mean like VideoCapture capture(0, CAP_DSHOW);? |
2019-06-21 02:10:31 -0600 | commented question | "Major ver = 6" return from console OpenCV 3.0.0 and my OS: Windows 7 Home Edition. I know.. I haven't updated with OpenCV v4 but this works still fine fo |
2019-06-20 22:42:10 -0600 | marked best answer | Detecting objects with a certain surface area Hi guys, I'd like to detect small but undefined shapes with a certain value of surface area, say 25 pixels worth. Now, I tried coding by calculating an array of pixels with adjacency but it seems pretty tedious and demanding for the debugging. Let's say I want to detect an image with at least 3 x 1 green pixels (where I have performed threshold the image to a binary black & green form): Now, this seemed to work but occasionally it'll crash due to the memory. I suppose there are workarounds to this? How do I do this? Thanks bros. |
2019-06-20 22:42:10 -0600 | received badge | ● Supporter (source) |
2019-06-20 22:38:32 -0600 | asked a question | "Major ver = 6" return from console "Major ver = 6" return from console Hi guys, I'm initiating a simple connection with an in-built camera in a system. It |
2016-11-14 03:12:36 -0600 | commented answer | VideoWriter unhandled exception Ok new development, I've set the output size as you suggested, still same error but I noticed in the console when it occured: https://s16.postimg.org/67cpsstv9/Unt... I've read about it in another forum: http://stackoverflow.com/questions/21... , and I suspect the reason was as provided on the lack of image in some frames.. I'm pretty sure it may occur in a few instances throughout some of the videos. Can I just make the code skip that particular error like VB.net's On Error Resume Next? Sorry I'm still polishing my C++. Thanks berak. |
2016-11-11 02:08:39 -0600 | commented answer | VideoWriter unhandled exception Oh dayum!! You're a wizard man. I left the program running without the Videowriter and there it pops up! What should I do? Resize the window to a bigger one or make it static sized without depending on frame1.size().width etc? |
2016-11-11 01:58:09 -0600 | commented answer | VideoWriter unhandled exception Well the output video is definitely working fine, as for the recording as well, and I can even play the video afterwards but only up to the point when the program crashed though. I understand if there's an "overflow" there'll be that error you're thinking of, right? But in my case the output was as attached: https://s11.postimg.org/c8de7sstv/Unt... Anyway if I understood you wrong, please correct me. Thanks! |
2016-11-11 01:30:18 -0600 | commented answer | VideoWriter unhandled exception You mean the output window size? Yes, I checked by using putText(dst_img, std::to_string(Point(dst_img.size().width)) + " " + std::to_string(dst_img.size().height)), FONT_HERSHEY_PLAIN, 1, Scalar::all(255), 2, 8); And then put the values into the VideoWriter variables. I hope that's what you meant? |
2016-11-11 01:01:52 -0600 | commented answer | VideoWriter unhandled exception Thanks berak. Still gettting the same error. I wonder if it is due to memory? The output video file is only about 70 MB though.. Here's a screenshot of the error: https://s15.postimg.org/gkwc40w3v/Unt... Anything else I might have missed? |
2016-11-10 22:53:05 -0600 | asked a question | VideoWriter unhandled exception Hi guys, I was recording my video output combining 6 videos into one and used the DIVX encoding using VideoWriter. The video recorded fine until it always returned "unhandled exception" at some point. The output video can be played only up to the point it crashed. Can someone point out what's might be the reason? int main(int, char**) { } |
2016-09-04 23:16:22 -0600 | commented question | Best function to analyze 2D mosquito position Thanks for the suggestion man.. They sometimes move, but most of the time they're stationary. But the video feed is always like "noisy".. I don't know how to describe it. Lemme play around with this function for a while. |