denisecailab / ezTrack

Free, platform independent, behavior tracking software.
GNU General Public License v3.0
118 stars 41 forks source link

pixel distance to real distance conversion #92

Open windowmaker7 opened 4 months ago

windowmaker7 commented 4 months ago

Hello, thank you for this opensource.

However I'm encountering an issue with converting Distance_pixel to Distance_cm on my Windows computer.

When I run a Location Tracking_Individual notebook and run 8c. Track Location and Save results to .csv File, the resultant csv file does not have a Distance_cm column at all, even though I have entered 7a and 7b parameters for pixel to centimeters conversion. I'm also not seeing the 'real-time update' of the ROIs or calculated pixels when I draw regions (6) or select 2 points for distance (7) on the Windows OS-run jupyter notebook? ( I see them on Mac OS-run jupyter notebook.) I'm using Anaconda prompt for Windows and just a Mac terminal and miniconda3 for Mac.

image

image

image

image

When I run LocationTracking_Individual on my Macbook and save to csv file, it renders Distance_px and Distance_cm columns almost just fine.

How can I have the pixel distance converted on my Windows computer? Any help would be appreciated greatly. Thank you.

Jeewon