Unity MRTK Hololens2 Eye Movement Interaction

/* * ================================================= ================================================== =============== * * UnityVersion: 2021.3.6f1 * Description: Eye interaction base class * Author: *CreateTime: 2023-10-11 09:43:20 * Version: V1.0.0 * * ================================================= ================================================== =============== */ using System.Collections.Generic; using Microsoft.MixedReality.Toolkit.Input; using UnityEngine; namespace MRTKExtend.EyeTracking {<!– –> [RequireComponent(typeof(Collider))] public abstract class BaseFocus : MonoBehaviour, IMixedRealityFocusHandler, IMixedRealityFocusChangedHandler {<!– –> [SerializeField] [Tooltip(“Enable focus?”)] private bool […]

HoloLens-Unity simple development and deployment

Article directory 1. Create `New Scene` and import MRTK resources 2. Grasp objects with hands and move them 3. Create user follow menu 4. Click the button to enlarge the target 5. Click the button to achieve target scaling 6. Click the button to zoom in or out the target 7. Deploy to HoloLens 1. […]

Implementation of collaborative filtering algorithm based on movie lens-100k data set

Implementation of collaborative filtering algorithm based on movie lens-100k data set Data set processing Implementation of user-based collaborative filtering algorithm Implementation of item-based collaborative filtering algorithm Dataset processing import pandas as pd u_data = pd.read_csv(‘D:/PyCharmWorkSpace/ml-100k/ml-100k/u.data’) u_genre = pd.read_csv(‘D:/PyCharmWorkSpace/ml-100k/ml-100k/u.genre’) u_info = pd.read_csv(‘D:/PyCharmWorkSpace/ml-100k/ml-100k/u.info’) # u_item = pd.read_csv(‘D:/PyCharmWorkSpace/ml-100k/ml-100k/u.item’) u_occupation = pd.read_csv(‘D:/PyCharmWorkSpace/ml-100k/ml-100k/u.occupation’) # u_user = pd.read_csv(‘D:/PyCharmWorkSpace/ml-100k/ml-100k/u.user’) u_user = pd.read_csv(‘D:/PyCharmWorkSpace/ml-100k/ml-100k/u.user’, […]

Decision Tree Algorithm: How to Choose Contact Lenses

According to some data of the above case, we can see that the final decision on whether to wear glasses and what material to choose depends on the various data we need before, and then decide what material to choose after layer-by-layer screening. Through the decision tree shown in the figure above, we can see […]

Hololens2 QR code recognition

Configuration At present, the development of most Hololens QR code recognition is based on the ZXing package. First, you need to complete zxing.unity.dll, which should be available for download in many places, or directly on github (click here for download). Just pay attention to the version when downloading. The compatibility of the old zxing may […]

Data Analysis Using Python-MoviesLens 1M Dataset

Directory MoviesLens 1M dataset 1.1 Data preprocessing 1.2 Calculating the Average Movie Score 1.3 Data filtering 1.4 Data sorting 1.5 Calculating score divergence 1.6 Statistical Movie Style Types MoviesLens 1M dataset GroupLens Labs provides a collection of movie rating data collected from MoviesLens users from the late 1990s to early 2000s. Zhexi data provides movie […]

Install Logstash and import Movielens test dataset (based on elasticsearch-8.5.2 version)

Install Logstash and import Movielens test dataset 0 Preparation before installation 0.1 installation package download Component Installation Package Download URL Logstash logstash-8.5.2-linux-x86_64.tar.gz elastic official website: https://www.elastic.co/cn/downloads/past-releases #logstash elastic Chinese community: https://elasticsearch.cn/download/ MovieLens test data set ml-latest-small.zip https://grouplens.org/datasets/movielens/ 0.2 Custom Deployment Standard Custom Deployment Standard Standard Description es elasticsearch does not allow the root account to […]

Application of UserCF Algorithm in MovieLens Dataset

MovieLens dataset introduction and ItemCF algorithm reference link http://t.csdn.cn/XIcmJ The UserCF algorithm is still divided into two parts: training phase Recommendation stage 1. For the training phase, it can be divided into the following steps: 1. Data preprocessing, create User-Item table 2. Create an Item-User inverted list For the user list {A, B, C, D}, […]

Application of ItemCF Algorithm in MovieLens Dataset

1. Introduction to MovieLens dataset MovieLens is actually a recommendation system and a virtual community website. It was founded by the GroupLens project team of the School of Computer Science and Engineering at the University of Minnesota in the United States. It is a non-commercial, experimental site for research purposes. The GroupLens research team created […]

[Capture a real-time image of Hololens and send it to the computer to receive it with Python]

1. Introduction Development environment: Hololens2 + unity2020.3 + vs2019 + python3.8 Recently, I have been researching how to make the hololens communicate with the computer. After consulting the information, I found that the communication can be realized by using Socket. Let the hololens communicate with the computer, in fact, let unity communicate with the computer, […]