Rev 76 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
import camera_math as mathmodelimport utilsprint "expSlide=" + `expSlide`struct = utils.contentModel2Struct(expSlide)print "struct=" + `struct`nfcsfeatures = {}nfcsfeatures['Primary camera'] = []nfcsslides = {}nfcsslides['Number of Cameras'] = {'features': nfcsfeatures}struct['childrenslides'] = nfcsslidesprint "newstruct=" + `struct`score = mathmodel.getscore(struct)