Latex Table \ref Incorrect Numbering

I don’t want to describe the problem here because it is really wired. If you have any \ref numbering problem, you can have a try of this solution.
Solution:
Try to move the \caption to the top of the table.
Move \label inside \caption{ }.
That’s it.

Reference,

http://stackoverflow.com/questions/2477878/latex-table-reference

Tags:

Comments(0)

Demo of Digital Face Makeup to LucasFilm

Today I showed a demo to some high-level officers of Lucasfilm. I demoed my makeup work which was published in CVPR 09.

The code stays untouched from the time I submitted my paper, until recently my boss asked my to build GUI for the demo to Lucasfilm visitors. I picked up my code and rushed to finish the demo. At last, I included three parts of my work, beauty makeup, makeup from painting, and wrinkles transfer. Because beard transferring part needs manual mark-up of beard region, I didn’t have time to include it as well.

After introduction of each other, I invited one of the visitors, a lady, to take a photo.  Then I did the makeup with my program on her face photo.

“Have you ever tried such a heavy makeup before?” I pointed at the makeup example on the screen and asked her.
“No.”  She replied.
“Today you can have a try. If you like it, you can do it physically; if not, never mind, it’s all virtual.” I added.

When the makeup result showed up, it was great! It was natural and seamless, as if it is real. However, this lady seemed not to like it because she had never worn such a heavy makeup. Nevertheless, the result itself was successful !

Later on, I begun the second step, adding wrinkles.
“Can you remove the wrinkles on my faces?” One gentlemen asked me.
At that moment, I just realised he was a bit elder than the rest and had some wrinkles on his face.
“All right. But it’s better to show adding wrinkles.” I replied.
At last, the a bad thing I did – adding wrinkles to the lady’s face. 
There were deep dimples on her face, so the wrinkles were so obvious. Yet, still the wrinkles looked real.

Next part is makeup from a painting. I transferred a makeup from a famous painting of  Marilyn Monroe. This time, she gotta like it.

I don’t show the results of the visitor’s faces here due to privacy.

If interested, you can visit this site regarding to my Digital Face Makeup by Example:
http://digitalfacemakeup.com

* Comments(2)

using algorthim package in latex

贴点sample上来, 便于日后参考.
用这个package可以产生把algorithm的caption放在最上面, 并且排版会漂亮一点.

\usepackage{algorithmic}
\usepackage[ruled]{algorithm2e}

下面是一段sample code, 需要的时候自己根据需要改成自己要的.

\begin{algorithm}[H]
\KwIn{Photo} \KwOut{Detected Person $p$} \SetLine { Detect all
upper bodies\; Detect all faces \;} \ForEach{upper body detected
$u$}{ Find the largest faces $f$ which has at least $50\%$ overlap
with $u$\;
\If {such $f$ exists}
{
Construct $p$ from $f$ and $u$: \\
\{   \\   The upper part of the detect result $p$ is set to $f$\;
The lower part of $p$ is set to the lower part of $u$ right below $f$\;
\} \\
Put $p$ into the result list\;
}
}
\caption{Human subject detection (combining upper body
detection and face detection)} \label{alg:detect}
\end{algorithm}

Thank ajay for help

Tags:

Comments(0)

research就像wow里solo boss

  1. 独自一人
  2. 自己的力量很小,只能一点一点打.
  3. 组队力量大, 但是难组到队(大家要solo不同的boss).
  4. 也有一些组队来打boss的,像MSRA,他们有牛的team leader,所以他们打得很快, 很容易. 他们的战利品也就很多, 装备很好,能力很强.
  5. 抢boss的现象也很严重,最郁闷的是你在solo时发现别人也在打,而且比你打得快. 一个好方法是和他们组队. 但是,一般也组不了队.
  6. 要选对导师. 术士solo就很容易,法师就不那么容易,有时候甚至是不可能的.
  7. 没solo之前觉得会很炫,很想去. 做的时候才发现,过程很痛苦. 或者不顺利,或者很枯燥.
  8. 开始solo的时候很容易挂,很让人想放弃, 但是掌握技巧和勤加苦练后,也不是那么难.(我什么时候才能觉得不那么难呢?)
  9. 要选好boss,有些boss太恐怖不是那么容易能搞定的. 但太弱的boss,搞定了也没有装备的.
  10. 毕业条件, 成功放到若干boss,或者一个强劲boss, 拿到足够的装备.
  11. 毕业后, 也是开始失业了, 在团队(公司)不容易找到自己的位置.

* Comments(1)