S100 porting thread - page 25 - DryOS Development - CHDK Forum

S100 porting thread

  • 287 Replies
  • 133966 Views
Re: S100 porting thread
« Reply #240 on: 11 / July / 2014, 15:59:03 »
Advertisements
Good catch, but why DNG when you can shoot native Canon RAW with this camera?
Canon RAW might include some lens corrections and a little lossless compression and that is good.  But DNG is more of an "open" format and so may work with more software packages.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: S100 porting thread
« Reply #241 on: 14 / July / 2014, 17:33:59 »
There is a bug in CHDK port for the S100 which causes a crash when shooting:

if these conditions are ALL true:
- shooting with external remote
- remote options set to: TwoPush AND Normal AND Synchro on
- camera detects a face (face detection in Canon menu disabled)

one can test it by shooting  the own face in front of a mirror (so camera detects a face)

Can this be fixed e.g by setting in the code the face detect counter to zero?

thanks
Werner

Re: S100 porting thread
« Reply #242 on: 14 / July / 2014, 18:33:00 »
Some cameras have a ResetFaceDetect() function, maybe that will work ?

Strange problem .....

*

Offline srsa_4c

  • ******
  • 4451
Re: S100 porting thread
« Reply #243 on: 14 / July / 2014, 18:54:29 »
There is a bug in CHDK port for the S100 which causes a crash when shooting:
A romlog could shed more light on this. It wouldn't surprise me if other cameras were affected too.

Re: S100 porting thread
« Reply #244 on: 14 / July / 2014, 19:53:07 »
Some cameras have a ResetFaceDetect() function, maybe that will work ?
What happened when you tried it ?  ( http://chdk.setepontos.com/index.php?topic=11671 )
Ported :   A1200    SD940   G10    Powershot N    G16

Re: S100 porting thread
« Reply #245 on: 14 / July / 2014, 20:06:45 »
What happened when you tried it ? 

I have never compiled CHDK.


Re: S100 porting thread
« Reply #246 on: 14 / July / 2014, 20:24:52 »
if these conditions are ALL true:
- shooting with external remote
- remote options set to: TwoPush AND Normal AND Synchro on
- camera detects a face (face detection in Canon menu disabled)
If you follow exactly the same sequence but have sync off does it crash ?

What about if you follow exactly the same sequence but use OnePush rather than TwoPush?

My suspicion is that the wait for the remote release code sitting in a tight loop causes problem for the face detection code.  Strange that it should be active when you have disabled it in the Canon menu though.

Update : SDM uses exactly the same code for wait for the remote release.  Does it exhibit the same crash?
« Last Edit: 14 / July / 2014, 20:32:08 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: S100 porting thread
« Reply #247 on: 15 / July / 2014, 02:56:26 »
Quote
A romlog could shed more light on this.

attached

Re: S100 porting thread
« Reply #248 on: 15 / July / 2014, 02:59:33 »
Quote
If you follow exactly the same sequence but have sync off does it crash ?

no

Quote
What about if you follow exactly the same sequence but use OnePush rather than TwoPush?

no, does not crash

Quote
SDM uses exactly the same code for wait for the remote release.  Does it exhibit the same crash?

yes

greetings
Werner

Re: S100 porting thread
« Reply #249 on: 15 / July / 2014, 05:16:43 »
Strange that it should be active when you have disabled it in the Canon menu though.


Hmmm .... a quick Forum search that I have just done shows that this was known two years ago :-

http://chdk.setepontos.com/index.php?topic=8243.msg86889#msg86889

So, during the half-press, the number of faces detected variable (in the structure) must get updated.

As Werner suggests, continually forcing to zero while switch is pressed should disable it.


 

Related Topics


SimplePortal © 2008-2014, SimplePortal