Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
71 naveen 1
import camera_math as mathmodel
73 naveen 2
import utils
71 naveen 3
 
73 naveen 4
print "expSlide=" + `expSlide`
71 naveen 5
 
73 naveen 6
struct = utils.contentModel2Struct(expSlide)
7
print "struct=" + `struct`
8
 
76 naveen 9
nfcsfeatures = {}
10
nfcsfeatures['Primary camera'] = []
11
 
12
nfcsslides = {}
13
nfcsslides['Number of Cameras'] = {'features': nfcsfeatures}
14
 
15
struct['childrenslides'] = nfcsslides
16
 
17
print "newstruct=" + `struct`
71 naveen 18
score = mathmodel.getscore(struct)