A pedestrain reid system based on pytorch
中文文档见pdf
windows10
pyqt5.6.0+pytorch0.3.0+numpy(Anaconda4.2.0)
wxpy pip install -U wxpy -i 'https://pypi.doubanio.com/simple/'
language: python3.5
It's a CPU version.
Result is shown in “使用文档.pdf"
We aim to realize PC & wechat & web appliction. Now we have finished PC and wechat version.
Note: Only jpg format is supported now. But it's easy to modify code to make it adapt to different format
Run project.py
Function:
- Generate xml result for a whole query and reference set
- Open a picture, search the similarpictures in assigned folder, then rank and dispay top15 results on screen.
Note:Query and Reference set is provided. You can also use new set. If you use new reference set, the features of this set have to be generated again and 'rfeatures.txt' will be generated in according folder. This process may need some time related to your set size. And once you change any picture in a folder which txt is already generated. You have to delete the txt manually. It's a little bug in this version.
Run wxbot_new.py
WeChat account A scans two-dimensional code displayed on the screen and assign account B as Interaction Object.
A will send "Coming!"to B if it's ready.
Note: code"my_friend = ensure_one(bot.friends().search(u'FZY'))" defines B. When you test, you should replace 'FZY' with B's wechat pet name.
A and B should add as wechat friend before. Then B could send picture to A and then get 15 pictures from A.