Commits
- Checking if the record file is properly created: 05b12933d1793f4ba9bbd016b7cba5e4a895ff8b
- new_record integration test - basic: 61f1c6b2eb4a85d4f85a7aca10fbbc10eddfa52a
- Modified Class Structure, moved test_dir to temp folder: 4324dcc2b640f0a8588eea90d7abecc8f08aad5f
- Modified contants. Supports running the tests now: cd66fe45bacb47696edf8f23e66a19981290eeb6
- Adding reference frames: c0de564f642e3ec64237a3f38906c5f49286fc55
- Adding reference frames: 2b746b6e5a6c19fa3a3dd04ba8028133727f0ca4
- Adding reference frames: 36019fc24706e01e030c7fcc0095ceef006ae0e0
Things done
- Modified the code in compare.py: Earlier, the same class was being used to both generate the reference frames as well as for comparing an input video with these reference frames. Now these are separate classes which are inherited from a base class containing the methods common to them.
GenerateReferenceFrames
generates the frames, whereasCompareVideo
compares a video to these reference frames. The video frames of the test video are created in the /tmp/ directory. - Added integration tests for
new_record
. Calling this remote method results in creation of a new record file. Verification of the file was done through comparing if a file with the expected filename was found in the current working directory.
Working on:
I am currently doing integration tests for adjust_pip
remote method. This method takes 4 paramaters - dx, dy, dw, dh. This method also returns an integer. I found a brief description in the c code regarding this method - here. But I got a problem. I have tried passing some combinations of these four arguments. The results of some of these combinations (dx, dy, dw, dh) are:
- (1, 1, 1, 1) - A black screen output and return value of 15
- (0, 0, 0, 0) - Screen output not visibly changed, returns 1
- (1, 0, 1, 0) - A black screen output and return value of 5
Currently got no idea about the return value of this method. Also I always get a black screen output.
Edit:
The adjust_pip method works with giving dw, dh as zero. If I give (50, 75, 0, 0) , the PIP is modified just as expected :) Check out this video -
But still the black output if dw or dh are set :(
Comments Section
Feel free to comment on the post but keep it clean and on topic.
blog comments powered by Disqus