The Hazard Recognition Challenge allows you to perform a virtual workplace examination. Your goal is to find as many hazards as possible at a work location.
Panorama scenes are created and viewed with the krpano Panorama Viewer. A paid license is required, although a free trial is available.
- In your krpano tools folder (downloaded separately) drag your original pano image on to "MAKE PANO (NORMAL) droplet.bat"
- Select cylindiral projection and 360 degrees. (Images <360 degrees are not tested but should work)
- Copy output into a new folder in /Content/krpano/{id}
- Edit the xml file and add this line inside the root element:
<events onclick="js(HazRecKR.Mouse_Clicked();)"></events>
- Change maxpixelzoom to 10 if appropriate.
- Change
<include url="skin/defaultskin.xml" />
to<include url="../skin/defaultskin.xml" />
- Define a new challenge in HazardChallenges.cs
- Copy the same outputted files into /Content/krpano/editor
- Edit that xml file to enable the editor plugin by adding this line inside the root element:
<plugin name="editor" url="plugins/editor.swf" keep="true" />
- Visit the html page to view the panorama. Append ?html5=never to the URL to make sure the Flash version is used.
- Click the "editor" button and follow directions to define a polygon hotspot.
- When the hotspot is complete, click back and view the xml it generated.
- Note the coords for the hotspot in the bottom of the xml and use them to define a new hazard in HazardChallenges.cs.
NIOSH github projects follow the CDC privacy policy and other policies where applicable.
Mention of any company or product does not constitute endorsement by the National Institute for Occupational Safety and Health (NIOSH). In addition, citations to Web sites external to NIOSH do not constitute NIOSH endorsement of the sponsoring organizations or their programs or products. Furthermore, NIOSH is not responsible for the content of these Web sites. All Web addresses referenced in this document were accessible as of the publication date.
This NIOSH-developed software is provided "AS IS" without warranty of any kind including express or implied warranties of merchantability or fitness for a particular purpose. By acceptance and use of this software, which is conveyed to the user without consideration by NIOSH, the user expressly waives any and all claims for damage and/or suits for personal injury or property damage resulting from any direct, indirect, incidental, special or consequential damages, or damages for loss of profits, revenue, data or property use, incurred by you or any third party, whether in an action in contract or tort, arising from your access to, or use of, this software in whole or in part.
No further development or upgrades for this software is planned. Any questions concerning this product can be directed to the NIOSH Mining Program via email at [email protected].