Search found 25 matches

by iScienceLuvr
Sat May 05, 2018 8:40 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

it just stops and camera disconnects, like previously...
by iScienceLuvr
Sat May 05, 2018 4:38 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

ok it looks like it works for like 10 sec but more than that it won't work...
by iScienceLuvr
Fri May 04, 2018 8:56 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

no I copied and pasted the file location into the box and pressed run to upload the firmware. I tried it again as you requested and it still doesn't work.
by iScienceLuvr
Fri May 04, 2018 7:30 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

nope, still not working...
by iScienceLuvr
Thu May 03, 2018 1:12 am
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

As I mentioned before, I am using Windows 10.
by iScienceLuvr
Wed May 02, 2018 7:29 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

Using older firmware didn't work. Anyway I have noticed it seems like it disconnects at about 5 seconds...
by iScienceLuvr
Wed May 02, 2018 7:14 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

Hmm.. I made sure that the SD card was firmly in place, but I still have the same problem. I now also get an EIO5 error after I reconnect the camera... I will try using maybe on older firmware?
by iScienceLuvr
Mon Apr 30, 2018 10:35 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

No worries... Please let me know when the updated firmware is released.
by iScienceLuvr
Mon Apr 30, 2018 9:17 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

Is there a solution to this problem?
by iScienceLuvr
Mon Apr 30, 2018 12:00 am
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

I did update the firmware (it says 2.8.0). I reformatted and it ran fine, then I tried to run again and the problem happened again. I reformatted again, and then the problem still happened. So yeah, the problem's still there.
by iScienceLuvr
Sun Apr 29, 2018 11:04 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

As a matter of fact, even the example programs "mjpeg.py" and "gif.py" has the same problem... So there might be some other problem...
by iScienceLuvr
Sun Apr 29, 2018 10:36 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

Don't you mean 10 seconds? Yes I am using the new firmware. I formatted and cleared out the SD card before using it with OpenMV but I don't think that's the problem because it's the camera that keeps disconnecting from the IDE. I don't think it's due to the cable because I have tried several already...
by iScienceLuvr
Sun Apr 29, 2018 10:23 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

Same code, but without the timestamps: import sensor, image, time, pyb, mjpeg sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.skip_frames(time = 2000) m = mjpeg.Mjpeg('openmv_video.mjpeg') clock = time.clock() time = [0] start = pyb.millis() while(True): c...
by iScienceLuvr
Sun Apr 29, 2018 6:52 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

ok like using tradition open() function in python? also, the code still doesn't work... it sometimes abruptly stops in the middle, and openMV disconnects...
by iScienceLuvr
Sun Apr 29, 2018 6:03 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

so is it impossible to get the timestamps? because if I do it in another file (i assume you mean another python program), then it won't be the timestamps for the same video...
Also, the program still did not work with the new firmware...
by iScienceLuvr
Sat Apr 28, 2018 4:19 pm
Forum: General Topics
Topic: OpenCV Library
Replies: 6
Views: 432

Re: OpenCV Library

But there is no way for using OpenCV with OpenMV? I am interested in using some other OpenCV functions (like estimating geometric transforms) as well...
by iScienceLuvr
Sat Apr 28, 2018 4:18 pm
Forum: Technical Discussion
Topic: Saving video and timestamps
Replies: 11
Views: 544

Re: Saving video and timestamps

I know, but I ask because the code wasn't very well commented/documented. So like what's the output? It prints some

Code: Select all

tx_buf(tx_len)
but what is that? And the input is the OpenMV script?
by iScienceLuvr
Sat Apr 28, 2018 4:11 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

Re: saving video on SD card

I am still a little confused on what you mean by it's an IDE error? What would I do to fix this error?
by iScienceLuvr
Sat Apr 28, 2018 4:30 am
Forum: General Topics
Topic: OpenCV Library
Replies: 6
Views: 432

Re: OpenCV Library

Yes, I am also interested in this functionality. I want to use lucas-kanade algorithm in OpenCV on the OpenMV camera.
by iScienceLuvr
Sat Apr 28, 2018 3:09 am
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1272

saving video on SD card

I am trying to save a video from the camera feed onto the SD card. Here is the code: import sensor, image, time, pyb, mjpeg sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.skip_frames(time = 2000) m = mjpeg.Mjpeg('openmv_video.mjpeg') clock = time.clock() ...
by iScienceLuvr
Sat Apr 28, 2018 12:26 am
Forum: Technical Discussion
Topic: Saving video and timestamps
Replies: 11
Views: 544

Re: Saving video and timestamps

Ok, but still, what is the usage of the script?
by iScienceLuvr
Fri Apr 27, 2018 9:44 pm
Forum: Technical Discussion
Topic: Saving video and timestamps
Replies: 11
Views: 544

Re: Saving video and timestamps

What is the usage of this script? Also, is it possible to save a video using this script? Is it possible for the data to be processed by another program, like an OpenCV program?
by iScienceLuvr
Fri Apr 27, 2018 2:32 am
Forum: Technical Discussion
Topic: Saving video and timestamps
Replies: 11
Views: 544

Re: Saving video and timestamps

Is it possible to convert it back to video stream using python. Unfortunately, I do not use C. I have never used serial before (except with an Arduino I think).
by iScienceLuvr
Thu Apr 26, 2018 11:02 pm
Forum: Technical Discussion
Topic: Saving video and timestamps
Replies: 11
Views: 544

Re: Saving video and timestamps

Thanks, but this doesn't allow me to access the timestamps for further processing... I would now have to do some OCR or something to access it? Is there not a better way?
by iScienceLuvr
Thu Apr 26, 2018 6:59 pm
Forum: Technical Discussion
Topic: Saving video and timestamps
Replies: 11
Views: 544

Saving video and timestamps

I am trying to save a video, and also save its corresponding timestamps from openMV to my computer. How exactly would I do that? I know I can save a video with the frame buffer, but that does not have timestamps. I could record the timestamps and save them along with the video onto an SD card, but i...

Go to advanced search