Subversion Repositories SmartDukaan

Rev

Rev 323 | Blame | Compare with Previous | Last modification | View Log | RSS feed

import camera_math as mathmodel
import utils

print "expSlide=" + `expSlide`

struct = utils.contentModel2Struct(expSlide, categoryObj)
print "struct=" + `struct`

nfcsfeatures = {}
nfcsfeatures['Primary camera'] = []

nfcsslides = {}
nfcsslides['Number of Cameras'] = {'features': nfcsfeatures}

struct['childrenslides'] = nfcsslides

print "newstruct=" + `struct`
score = mathmodel.getscore(struct)