-
Notifications
You must be signed in to change notification settings - Fork 341
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
Night vision distance #182
Comments
It looks that you have camera with broken IR lights. |
At night IR light its on (I see two IR led that candle )
How do i can check IR it is ok?
06.07.2017 13:08 "wekii" <notifications@github.com> napisał(a):
… It looks that you have camera with broken IR lights.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#182 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AahFjxMU3PJPtFIx-c2hDLGg-vByFTSRks5sLMAUgaJpZM4OPACx>
.
|
Do you hear "click" when camera turns on or off night vision? |
Then I don't have any idea what could be a problem. |
Yes it is hacked. I change script from #61 issues and change wireless Mode
to wireless client and check at night.
06.07.2017 15:03 "wekii" <notifications@github.com> napisał(a):
… Then I don't have any idea what could be a problem.
Is this camera hacked?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#182 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AahFj7qUMCk3PYSfXpotlTgWyTti0Yehks5sLNszgaJpZM4OPACx>
.
|
Based on the first pic, I'd say the IR LEDs are off but the 2nd pic clearly shows they're on... If power supply is lacking LEDs will be not as bright. But maybe you're expecting too much of it, two leds are really not capable to reach 9mtrs (but they should be able to light your room, at least a couple of meters directly in front of the lens) |
I know that 9 meters is the manufacturer's declaration but in the room from camera to the wall I have 3 meters
It seemed to me that it would brighten up.
Looking at screenshots of other users, it seems to me that something is wrong.
|
Did you had the same problem before hacking the camera? |
I don't know beacouse i can run camera outside China
|
Maybe you meant to say that you can not run camera outside China ? |
Yes Yes can not (Write on phone with dictionary)
I live in Poland :-)
06.07.2017 16:03 "wekii" <notifications@github.com> napisał(a):
Maybe you meant to say that you *can no*t run camera outside China ?
In wich country do you live?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#182 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AahFjwmRRk6yweEiw9zpwIRwkvhFaJywks5sLOlMgaJpZM4OPACx>
.
|
Maybe you should try to remove hack to see if there's any difference.
UPDATE |
@samtap There's definitely something going on related to the hacks. This is a pic (from the rtsp stream) with cloud apps completely disabled: This is a pic (from the rtsp stream) with cloud apps disabled after boot with the stop-cloud script: As you can see with cloud enabled the picture becomes fuzzier, but brighter. |
I'm seeing the same result with my cameras as @louis-lau's results. With the hacks enabled the visible distance is incredible short, unfortunately making the cameras unusable in the dark. Suggestions of things to try would be great; otherwise I'll start poking around in the camera. |
I'm still analyzing this camera, I've just got it... My guess is that there are some camera host driver setting exposed through /proc/isp which are changed on iCamera app start. Check if there are any differences in those proc handle files between cloud-on and cloud-off mode. |
I diff'ed all the parts of Tonight, it started around Otherwise, in the diff, I saw that |
@davidjb i'm impressed with your progress, it really seems like you might find an answer to this annoying issue. I've been rebooting my cameras manually every night time, which i believe kicks in iCamera on boot, this works really well for me and the IR mode stays stable and vision is good. Has anyone tried a simple bandaid hack to fang-ir-control.sh that does a /sbin/reboot on Day Stare Change? this would save me from manually rebooting. Thanks Rob. |
for anyone that wants a quick fix for now, this is what I am doing
|
It's quite silly to reboot and rely on iCamera to setup the hardware. Can't anybody figure out what iCamera does and the ir script doesn't do? Run something like find /proc/isp -type f -print -exec cat {} ; will print all isp settings. |
@samtap there are no differences in /proc/isp in both modes, @davidjb already tried that... There's already a difference in quality if you power-on your camera when there's already dark. If you power it on during the day or when the lights are on, then when turning the lights off you get more grainy/noisy image. That's even with iCamera initialization. So hacks enabled, cloud enabled, cloud apps stopped and powering camera on in the dark will give you good results (a little bit blurry/fuzzy image but without noise) and low bandwidth usage (under 100 kbps in 720p) while rtsp streaming. More grainy/noisy image gives you bigger bandwidth usage tho. I played a little bit in cloud disabled mode, fiddling with sensor exposure and gain (with ISP AEC and AWB disabled) and I actually managed to get more light but wasn't able to reduce noise (the noise was horrible) thus bandwidth went haywire (from let say 300 kbps to 2500 and even more on a bw 720p image). The next thing I'm planning to do is stracing that iCamera stuff... |
OK, stracing didn't get me anywhere but I have found few starting points after that... That /proc/isp/iq/nrn is actually quite important. That iq handles control image quality sub module and nrn is actually enabling some sort of fuzzy/blury overlay so the image gets smoothened which is good for the low bitrate. As I said, more noise gives you way higher bitrate which just means bigger file or more bandwidth used without any quality gain. Then there are handles for auto exposure submodule in /proc/isp/ae dir and these are adjusting automatically depending on intensity of the light source(s). But you can still play around with for example gain and as soon as you change the value of it, you see the result. At that point ae submodule is disabled even tho the enable handle still shows 1. If you want ae back, you have to disable it again via handle and then reenable it. |
no solution to this? |
I have the same problem, but I have two XiaoFang cameras and I clearly see that they have a drastic difference in IR lights. Here is what I have:
The older camera produces the type of picture shown in the first message in this thread. When I replace the first camera with the second one, I get a perfect picture. Next, I powered on both cameras and the older camera started producing a great quality night vision picture as well and I can see that IR light goes from the second camera (I can see a flashlight effect on the video from my old camera when I turn my newer camera). The old camera still has its IR indicators on and even can light some items in a range of less than 1 meter (while the newer camera lights up the whole room which is ~3x4 meters). It looks like a hardware problem and IR lights in my old camera just die. :( |
Hi i have a problem with Night vision. in discription for XiaoFang is 9m but when my camera goes to night vision i don't see anything. My room has 5m width.
Do i can regulate IR power in config?
The text was updated successfully, but these errors were encountered: