Society of Robots - Robot Forum

Software => Software => Topic started by: Kelpy on October 28, 2010, 12:42:39 PM

Title: Admin - Download link not working
Post by: Kelpy on October 28, 2010, 12:42:39 PM
I can't seem to get the link to your "custom blob detection RoboRealm file" to work, on the Computer Vision Tutorial Part 3 page.

Cheers.
Title: Re: Admin - Download link not working
Post by: Admin on October 28, 2010, 02:28:38 PM
It's downloading fine for me.

What error are you getting?
Title: Re: Admin - Download link not working
Post by: Kelpy on October 29, 2010, 08:05:02 AM
Is it me? :-[

All I'm getting is an html file.

It shows:

1.7.3.3 1 C:\Documents and Settings\Pika\Desktop\snowpics\MOV03341avi2.avi TRUE 1 62 62 400 300 40 5 5 255 15 64 12 7 2 1 0.00 0 50 14 0 1 0.00 0 0 1 0.00 0 0 1 0.00 0 0 1 0.00 0 0 1 0.00 0 37421056 FALSE FALSE FALSE TRUE 2 FALSE 3 FALSE TRUE 9 TRUE 5 1 C:\Documents and Settings\Pika\Desktop\snowpics\RBGmaxing.avi -1 Current Cinepak Codec by Radius

Is that the program code?
Title: Re: Admin - Download link not working
Post by: Admin on October 29, 2010, 08:16:41 AM
Download the file, don't run it in your browser. Below is the full file contents.

Also note that when you run the file, the location of your video won't be the same as mine (obviously).

Code: [Select]
<head><version>1.7.3.3</version></head>
<Read_AVI>
  <loop_playback>1</loop_playback>
  <filename>C:\Documents and Settings\Pika\Desktop\snowpics\MOV03341avi2.avi</filename>
  <running>TRUE</running>
</Read_AVI>
<Scale>
  <maintain_aspect>1</maintain_aspect>
  <percent_height>62</percent_height>
  <percent_width>62</percent_width>
  <pixel_width>400</pixel_width>
  <pixel_height>300</pixel_height>
</Scale>
<Max_RGB_Channel>
  <tolerance>40</tolerance>
</Max_RGB_Channel>
<Color_Threshold>
  <blue_end>5</blue_end>
  <green_end>5</green_end>
  <red_end>255</red_end>
</Color_Threshold>
<Mean>
  <filter_size>15</filter_size>
</Mean>
<Population_Threshold>
  <window_size>64</window_size>
  <intensity_threshold>12</intensity_threshold>
  <population_threshold>7</population_threshold>
</Population_Threshold>
<Blob_Filter>
  <filters>2
1
 0.00
0
50

14

0
1
 0.00
0
0
1
 0.00
0
0
1
 0.00
0
0
1
 0.00
0
0
1
 0.00
0
</filters>
  <show_mode>37421056</show_mode>
  <largest_is_background>FALSE</largest_is_background>
  <show_weights>FALSE</show_weights>
  <create_blob_array_variable>FALSE</create_blob_array_variable>
</Blob_Filter>
<Center_of_Gravity>
  <show_coord>TRUE</show_coord>
  <color_index>2</color_index>
  <connect_line>FALSE</connect_line>
  <density>3</density>
  <overlay_source>FALSE</overlay_source>
  <show_box>TRUE</show_box>
  <box_size>9</box_size>
  <show_cog>TRUE</show_cog>
  <threshold>5</threshold>
</Center_of_Gravity>
<Write_AVI>
  <real_time>1</real_time>
  <filename>C:\Documents and Settings\Pika\Desktop\snowpics\RBGmaxing.avi</filename>
  <limit_time_type>-1</limit_time_type>
  <image_to_save>Current</image_to_save>
  <codec>Cinepak Codec by Radius</codec>
</Write_AVI>
Title: Re: Admin - Download link not working
Post by: Kelpy on October 29, 2010, 09:16:38 AM
Thanks Admin. Got it now.
I did try to "Save target..." before, but as it showed an html file, I assumed it would be a web page.
Doh! :-[