frame reading
-
- Posts: 31
- Joined: Wed Mar 07, 2018 7:04 pm
- Location: KOCHI
- Contact:
frame reading
I m trying to read frame through above code but size always shows (0, 1162563860, 1171345940) this, any idea why I m not getting jpeg frame?
- Attachments
-
main.py
- (3.4 KiB) Downloaded 102 times
Re: frame reading
That's a garbage frame. If the first value is 0 then you need to keep reading until you get a non-zero first value. Then the frame is ready.
Nyamekye,
-
- Posts: 31
- Joined: Wed Mar 07, 2018 7:04 pm
- Location: KOCHI
- Contact:
Re: frame reading
yes sir, I m trying to get non zero as first value, but it always give 0, what could be reason? where I can check?
Re: frame reading
Um, a script needs to be running on the camera that calls snapshot. Can you verify the script is running?
Nyamekye,
-
- Posts: 31
- Joined: Wed Mar 07, 2018 7:04 pm
- Location: KOCHI
- Contact:
Re: frame reading
script included in my python code and I m executing beginning, can u please see my code? if u can suggest some thing will be gr8 help
Re: frame reading
Can you start with this script?
https://github.com/openmv/openmv/blob/m ... enmv_fb.py
You've edited our code heavily...
https://github.com/openmv/openmv/blob/m ... enmv_fb.py
You've edited our code heavily...
Nyamekye,
-
- Posts: 31
- Joined: Wed Mar 07, 2018 7:04 pm
- Location: KOCHI
- Contact:
Re: frame reading
Yes Sir, I referred and made it from your library only, trying to convert it as stand alone sensor. your sample code is working with module. but simplified my code is not working, that I m trying to solve and looking for any help..
Re: frame reading
Um, so, just go back to our code and just ignore parts you don't need... you don't have to modify the code if you don't need to.
I tried your script out and could confirm it's not working. But, I really can't do hands on debug support anymore. Too many people are asking for my time now.
I tried your script out and could confirm it's not working. But, I really can't do hands on debug support anymore. Too many people are asking for my time now.
Nyamekye,
-
- Posts: 31
- Joined: Wed Mar 07, 2018 7:04 pm
- Location: KOCHI
- Contact:
Re: frame reading
I understand sir, thanks for ur support, thought some members tried the same and may get some help
Return to “Technical Discussion”
Who is online
Users browsing this forum: MSN [Bot] and 8 guests